We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85ebc61 commit d90b6cfCopy full SHA for d90b6cf
ops/fmod.rkt
@@ -108,8 +108,7 @@
108
(or (ival-err x) (ival-err y) (and (bf=? (ival-lo-val y) 0.bf) (bf=? (ival-hi-val y) 0.bf))))
109
(define y* (ival-fabs y))
110
(cond
111
- [(= (mpfr-sign (ival-hi-val x)) -1)
112
- (ival-neg (ival-remainder-pos (ival-neg x) y* err? err))]
+ [(= (mpfr-sign (ival-hi-val x)) -1) (ival-neg (ival-remainder-pos (ival-neg x) y* err? err))]
113
[(= (mpfr-sign (ival-lo-val x)) 1) (ival-remainder-pos x y* err? err)]
114
[else
115
(define-values (neg pos) (split-ival x 0.bf))
0 commit comments