



Bits error versus x
Results
| Original | 30.1 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 30.1
Initial simplification30.1
rmApplied flip--29.9
Taylor expanded around 0 0.2
rmApplied +-commutative0.2
rmApplied expm1-log1p-u0.2
Final simplification0.2
Time bar (total: 9.8s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 0.2 | 0.2 | 0.0 | 0.1 | 0% |
herbie shell --seed 2018296 +o rules:numerics
(FPCore (x)
:name "2sqrt (example 3.1)"
:herbie-target
(/ 1 (+ (sqrt (+ x 1)) (sqrt x)))
(- (sqrt (+ x 1)) (sqrt x)))