Skip to content

Commit

Permalink
Handle point intervals
Browse files Browse the repository at this point in the history
  • Loading branch information
pavpanchekha committed Mar 17, 2024
1 parent 16ac19d commit c697b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@
(define hi-exp (+ hi-ulp (bigfloat-precision xhi)))
(cond
[(and (< lo-exp 0) (< hi-exp 0)) 'near-0]
[(or (> lo-ulp 0) (> hi-ulp 0)) 'too-wide]
[(or (> lo-ulp 0) (> hi-ulp 0)) (if (bf=? xlo xhi) 'range-reduce 'too-wide)]
[else 'range-reduce]))

(define (ival-cos x)
Expand Down

0 comments on commit c697b53

Please sign in to comment.