File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 419419 [(-1 1 ) (mkatan yhi xhi ylo xlo)]
420420 [(_ 0 )
421421 (define pi-int (ival-pi))
422- (define-values (hi-out lo-out) (make-endpoint-pair))
423- (mpfr-set! hi-out (endpoint-val (ival-hi pi-int)) 'up )
424- (mpfr-neg! lo-out (endpoint-val (ival-hi pi-int)) 'down )
425- (ival (endpoint lo-out #f )
426- (endpoint hi-out #f )
422+ (ival (ival-lo (ival-neg pi-int))
423+ (ival-hi pi-int)
427424 (or err? (bfgte? (ival-hi-val x) 0.bf))
428425 (or err
429426 (and (bfzero? (ival-lo-val x))
Original file line number Diff line number Diff line change 109109 ;; Use ival-fabs and ival-neg without the precision-changing wrappers
110110 (define y* (ival-fabs y))
111111 (cond
112- [(= (mpfr-sign (ival-hi-val x)) -1 )
113- (ival-neg (ival-remainder-pos (ival-neg x) y* err? err))]
112+ [(= (mpfr-sign (ival-hi-val x)) -1 ) (ival-neg (ival-remainder-pos (ival-neg x) y* err? err))]
114113 [(= (mpfr-sign (ival-lo-val x)) 1 ) (ival-remainder-pos x y* err? err)]
115114 [else
116115 (define-values (neg pos) (split-ival x 0.bf))
You can’t perform that action at this time.
0 commit comments