



Bits error versus x
Results
| Original | 29.6 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 29.6
Initial simplification29.6
rmApplied flip--29.4
Taylor expanded around inf 0.2
Final simplification0.2
Time bar (total: 12.8s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 0.2 | 0.2 | 0.0 | 0.1 | 0% |
herbie shell --seed 2018295
(FPCore (x)
:name "2sqrt (example 3.1)"
:herbie-target
(/ 1 (+ (sqrt (+ x 1)) (sqrt x)))
(- (sqrt (+ x 1)) (sqrt x)))