



Bits error versus x
Results
| Original | 28.8 |
|---|---|
| Target | 0.2 |
| Herbie | 0.3 |
Initial program 28.8
Initial simplification28.8
rmApplied flip--28.6
Taylor expanded around inf 0.2
rmApplied add-sqr-sqrt0.3
Applied associate-/r*0.3
Final simplification0.3
Time bar (total: 19.8s)Debug logProfile
herbie shell --seed 2018348 +o rules:numerics
(FPCore (x)
:name "2sqrt (example 3.1)"
:herbie-target
(/ 1 (+ (sqrt (+ x 1)) (sqrt x)))
(- (sqrt (+ x 1)) (sqrt x)))