



Bits error versus x
| Original | 19.8 |
|---|---|
| Target | 0.7 |
| Herbie | 0.3 |
Initial program 19.8
rmApplied frac-sub19.7
Applied simplify19.7
rmApplied flip--19.6
Applied simplify0.4
rmApplied associate-/r*0.4
Applied simplify0.3
Time bar (total: 40.4s)Debug logProfile
herbie shell --seed 2018170 +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)))))