



Bits error versus x




Bits error versus y




Bits error versus z




Bits error versus t
| Original | 4.9 |
|---|---|
| Target | 4.5 |
| Herbie | 2.2 |
if (- (/ y z) (/ t (- 1.0 z))) < -3.48638270650083115e208 or 3.1856713317985321e210 < (- (/ y z) (/ t (- 1.0 z))) Initial program 21.5
rmApplied sub-neg21.5
Applied distribute-lft-in21.5
rmApplied associate-*r/0.9
if -3.48638270650083115e208 < (- (/ y z) (/ t (- 1.0 z))) < 3.1856713317985321e210Initial program 1.5
rmApplied add-cube-cbrt2.5
Final simplification2.2
herbie shell --seed 2020161
(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)))))