



Bits error versus x




Bits error versus y
| Original | 10.9 |
|---|---|
| Target | 8.0 |
| Herbie | 5.0 |
if y < -3.992462048211031e29Initial program 32.0
Simplified32.0
Taylor expanded around -inf 0.1
Simplified0.0
if -3.992462048211031e29 < y < 4862.0873297632043Initial program 1.1
Simplified1.1
rmApplied clear-num1.1
if 4862.0873297632043 < y < 3.8600846319785372e102Initial program 35.1
Simplified35.1
rmApplied add-log-exp22.6
if 3.8600846319785372e102 < y Initial program 29.6
Simplified29.6
rmApplied add-sqr-sqrt30.3
Applied add-sqr-sqrt31.5
Applied times-frac31.5
Applied unpow-prod-down15.4
Final simplification5.0
herbie shell --seed 2020190
(FPCore (x y)
:name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, F"
:precision binary64
:herbie-target
(if (< y -3.7311844206647956e+94) (/ (exp (/ -1.0 y)) x) (if (< y 2.817959242728288e+37) (/ (pow (/ x (+ y x)) x) x) (if (< y 2.347387415166998e+178) (log (exp (/ (pow (/ x (+ y x)) x) x))) (/ (exp (/ -1.0 y)) x))))
(/ (exp (* x (log (/ x (+ x y))))) x))