



Bits error versus x




Bits error versus y




Bits error versus z




Bits error versus t
| Original | 4.2 |
|---|---|
| Target | 4.0 |
| Herbie | 3.8 |
if z < -5.37154827044231181e-49 or 4.27209705748777414e-305 < z Initial program 3.3
rmApplied clear-num3.5
if -5.37154827044231181e-49 < z < 4.27209705748777414e-305Initial program 8.5
rmApplied sub-neg8.5
Applied distribute-lft-in8.5
Simplified8.5
rmApplied div-inv8.6
Applied associate-*r*5.2
Final simplification3.8
herbie shell --seed 2020181
(FPCore (x y z t)
:name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, C"
:precision binary64
:herbie-target
(if (< (* x (- (/ y z) (/ t (- 1.0 z)))) -7.623226303312042e-196) (* x (- (/ y z) (* t (/ 1.0 (- 1.0 z))))) (if (< (* x (- (/ y z) (/ t (- 1.0 z)))) 1.4133944927702302e-211) (+ (/ (* y x) z) (neg (/ (* t x) (- 1.0 z)))) (* x (- (/ y z) (* t (/ 1.0 (- 1.0 z)))))))
(* x (- (/ y z) (/ t (- 1.0 z)))))