



Bits error versus x
| Original | 9.6 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
if x < -98.63202047432792Initial program 19.2
Taylor expanded around inf 0.4
Applied simplify0.1
rmApplied div-inv0.1
Applied associate-/l*0.4
Applied simplify0.4
if -98.63202047432792 < x < 108.81703021672755Initial program 0.0
rmApplied add-cube-cbrt0.0
if 108.81703021672755 < x Initial program 19.2
Taylor expanded around inf 0.4
Applied simplify0.1
Time bar (total: 48.3s)Debug logProfile
herbie shell --seed '#(1071725047 233389029 2036512464 3988615230 2972226563 1111574017)'
(FPCore (x)
:name "3frac (problem 3.3.3)"
:herbie-target
(/ 2 (* x (- (* x x) 1)))
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1))))