



Bits error versus x
| Original | 20.3 |
|---|---|
| Target | 0.8 |
| Herbie | 0.3 |
Initial program 20.3
rmApplied frac-sub20.3
Applied simplify20.3
rmApplied flip--20.0
Applied simplify0.4
rmApplied associate-/r*0.4
Applied simplify0.3
Time bar (total: 30.0s)Debug logProfile
herbie shell --seed '#(1070609872 3456127585 2380521889 2328837196 1765472538 734540918)' +o rules:numerics
(FPCore (x)
:name "2isqrt (example 3.6)"
:herbie-target
(/ 1 (+ (* (+ x 1) (sqrt x)) (* x (sqrt (+ x 1)))))
(- (/ 1 (sqrt x)) (/ 1 (sqrt (+ x 1)))))