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 708da91 commit 6b9e7a5Copy full SHA for 6b9e7a5
mpfr.rkt
@@ -157,6 +157,7 @@
157
bfnan?
158
bfinfinite?
159
bfnegative?
160
+ bfrational?
161
bfeven?
162
bfodd?
163
bfcopy
ops/core.rkt
@@ -127,7 +127,7 @@
127
(define (mk-big-ival x y)
128
(cond
129
[(eq? x y)
130
- (define err? (and (bigfloat? x) (or (bfinfinite? x) (bfnan? x))))
+ (define err? (and (bigfloat? x) (not (bfrational? x))))
131
(ival (endpoint x #t) (endpoint x #t) err? err?)]
132
[(and (bigfloat? x) (bigfloat? y))
133
(define fix? (bf=? x y))
0 commit comments