Skip to content

Commit 6424dcb

Browse files
address requested changes
3/2 pi rad is equal to -pi/2 rad other changes were caused by file editing issues. sorry about that.
1 parent 75b9190 commit 6424dcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jepler_udecimal/utrig.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,14 +225,14 @@ def acos(x, context=None):
225225
with localcontext(context) as ctx:
226226
ctx.prec += 2
227227
if x == 1:
228-
r = Decimal(0). # 0 radians
228+
r = Decimal(0) # 0 radians
229229
elif x == -1:
230230
r = Decimal(1).atan() * 4 # pi radians
231231
else:
232232
r = atan((1 - x * x).sqrt() / x)
233233
if r < 0:
234234
r += 4 * atan(1)
235-
return r / 1
235+
return r / 1
236236

237237

238238
for name in __all__:

0 commit comments

Comments
 (0)