



Bits error versus x
| Original | 9.6 |
|---|---|
| Target | 0.2 |
| Herbie | 0.1 |
if x < -1.0257693328892032Initial program 19.6
Taylor expanded around inf 0.7
Applied simplify0.3
if -1.0257693328892032 < x < 88.37986618761312Initial program 0.0
rmApplied add-sqr-sqrt0.0
if 88.37986618761312 < x Initial program 19.8
Taylor expanded around inf 0.4
Applied simplify0.1
rmApplied associate-/r*0.1
Time bar (total: 19.3s)Debug logProfile
herbie shell --seed '#(1070355188 2193211668 3977393919 3454156579 3755371326 1656365382)'
(FPCore (x)
:name "3frac (problem 3.3.3)"
:herbie-target
(/ 2 (* x (- (* x x) 1)))
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1))))