



Bits error versus x
Results
| Original | 19.8 |
|---|---|
| Target | 0.7 |
| Herbie | 0.5 |
Initial program 19.8
rmApplied frac-sub19.8
Applied simplify19.8
rmApplied flip--19.6
Applied simplify0.4
rmApplied add-sqr-sqrt0.5
Applied times-frac0.5
Time bar (total: 52.2s)Debug logProfile
herbie shell --seed '#(1072936661 1621281212 3440817831 3219514234 460296804 1258167384)' +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)))))