File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 7373 [(list '- x y) (list ival-sub! (alloc-outreg!) x y)]
7474 [(list '* x y) (list ival-mult! (alloc-outreg!) x y)]
7575 [(list '/ x y) (list ival-div! (alloc-outreg!) x y)]
76+ [(list 'hypot x y) (list ival-hypot! (alloc-outreg!) x y)]
7677 #; [(list '+ x y) (list ival-add x y)]
7778 #; [(list '- x y) (list ival-sub x y)]
7879 #; [(list '* x y) (list ival-mult x y)]
Original file line number Diff line number Diff line change 3131 ival-sqrt
3232 ival-cbrt
3333 ival-hypot
34+ ival-hypot!
3435 ival-exp
3536 ival-exp2
3637 ival-expm1
Original file line number Diff line number Diff line change 351351 (define-values (tmp1 tmp2) (make-endpoint-pair))
352352 (define abs-lo (epunary! tmp1 mpfr-abs! (ival-lo x) 'up ))
353353 (define abs-hi (epunary! tmp2 mpfr-abs! (ival-hi x) 'up ))
354- (ival (endpoint (bf 0 ) (and xlo! xhi!)) (endpoint-max2 abs-lo abs-hi 'nearest ) xerr? xerr)]))
354+ (ival (endpoint (bf 0 ) (and xlo! xhi!)) (endpoint-max2 abs-lo abs-hi 'up ) xerr? xerr)]))
355355
356356;; These functions execute ival-fabs and ival-neg with input's precision
357357(define (ival-max-prec x)
You can’t perform that action at this time.
0 commit comments