We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0992498 commit 806b386Copy full SHA for 806b386
maths/bailey_borwein_plouffe.py
@@ -70,7 +70,6 @@ def _subsum(
70
sum = 0.0
71
for sum_index in range(digit_pos_to_extract + precision):
72
denominator = 8 * sum_index + denominator_addend
73
- exponential_term = 0.0
74
if sum_index < digit_pos_to_extract:
75
# if the exponential term is an integer and we mod it by the denominator
76
# before dividing, only the integer part of the sum will change;
0 commit comments