



Bits error versus x
Results
| Original | 10.1 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 10.1
rmApplied frac-sub26.3
Applied frac-add25.7
Taylor expanded around inf 0.2
Taylor expanded around -inf 0.2
Final simplification0.2
Time bar (total: 41.2s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 0.2 | 0.2 | 0.0 | 0.2 | 0% |
herbie shell --seed 2018297
(FPCore (x)
:name "3frac (problem 3.3.3)"
:herbie-target
(/ 2 (* x (- (* x x) 1)))
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1))))