



Bits error versus x
| Original | 19.2 |
|---|---|
| Target | 0.6 |
| Herbie | 0.3 |
Initial program 19.2
rmApplied frac-sub19.2
Applied simplify19.2
rmApplied flip--18.9
Applied simplify0.4
rmApplied associate-/r*0.4
Applied simplify0.3
rmApplied fma-udef0.3
Time bar (total: 41.6s)Debug logProfile
herbie shell --seed '#(1070706311 3771791028 4128836681 4194990999 2341756049 504035650)' +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)))))