



Bits error versus x




Bits error versus y
Results
| Original | 20.3 |
|---|---|
| Target | 0.0 |
| Herbie | 5.5 |
if y < -1.36473141996577e+154 or 1.819193390664124e-192 < y < 4.000116206191754e-176Initial program 59.8
Taylor expanded around 0 4.1
if -1.36473141996577e+154 < y < -9.928191242845041e-154 or 4.000116206191754e-176 < y Initial program 0.9
if -9.928191242845041e-154 < y < 1.819193390664124e-192Initial program 29.2
Taylor expanded around -inf 14.4
Final simplification5.5
Time bar (total: 31.1s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 21.8 | 5.5 | 0.4 | 21.4 | 76.1% |
herbie shell --seed 2018353
(FPCore (x y)
:name "Kahan p9 Example"
:pre (and (< 0 x 1) (< y 1))
:herbie-target
(if (< 0.5 (fabs (/ x y)) 2) (/ (* (- x y) (+ x y)) (+ (* x x) (* y y))) (- 1 (/ 2 (+ 1 (* (/ x y) (/ x y))))))
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y))))