Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bksaiki committed Sep 5, 2024
1 parent 1a8f2a3 commit 48b3a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion private/mpfr.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
(let loop ([x x])
(cond
[(zero? x) 0.bf]
[(negative? x) (bf- (loop x))]
[(negative? x) (bf- (loop (- x)))]
[(> x (infinite-ordinal es sig)) +nan.bf]
[(= x (infinite-ordinal es sig)) +inf.bf]
[else ; non-zero, real number
Expand Down

0 comments on commit 48b3a11

Please sign in to comment.