



Bits error versus x




Bits error versus y




Bits error versus z




Bits error versus t




Bits error versus a
| Original | 24.1 |
|---|---|
| Target | 7.6 |
| Herbie | 6.6 |
if z < -4.09785828767813579e102Initial program 44.1
Taylor expanded around -inf 2.1
Simplified2.1
if -4.09785828767813579e102 < z < 1.56172699756646245e-233Initial program 11.4
rmApplied clear-num11.8
Simplified11.8
if 1.56172699756646245e-233 < z < 2.4622880997986805e126Initial program 9.9
Simplified7.1
if 2.4622880997986805e126 < z Initial program 48.1
Taylor expanded around inf 1.3
Final simplification6.6
herbie shell --seed 2020185
(FPCore (x y z t a)
:name "Statistics.Math.RootFinding:ridders from math-functions-0.1.5.2"
:precision binary64
:herbie-target
(if (< z -3.1921305903852764e+46) (neg (* y x)) (if (< z 5.976268120920894e+90) (/ (* x z) (/ (sqrt (- (* z z) (* a t))) y)) (* y x)))
(/ (* (* x y) z) (sqrt (- (* z z) (* t a)))))