



Bits error versus x
Results
| Original | 9.7 |
|---|---|
| Target | 0.2 |
| Herbie | 0.1 |
Initial program 9.7
rmApplied frac-sub25.6
Applied frac-add24.9
Taylor expanded around inf 0.3
rmApplied associate-/r*0.1
Taylor expanded around 0 0.1
Final simplification0.1
Time bar (total: 44.7s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 0.1 | 0.1 | 0.0 | 0.1 | 0% |
herbie shell --seed 2018274
(FPCore (x)
:name "3frac (problem 3.3.3)"
:herbie-target
(/ 2 (* x (- (* x x) 1)))
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1))))