Skip to content

Commit 48b3a11

Browse files
committed
fix
1 parent 1a8f2a3 commit 48b3a11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

private/mpfr.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
(let loop ([x x])
112112
(cond
113113
[(zero? x) 0.bf]
114-
[(negative? x) (bf- (loop x))]
114+
[(negative? x) (bf- (loop (- x)))]
115115
[(> x (infinite-ordinal es sig)) +nan.bf]
116116
[(= x (infinite-ordinal es sig)) +inf.bf]
117117
[else ; non-zero, real number

0 commit comments

Comments
 (0)