


Bits error versus t
Initial program 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019007 +o rules:numerics
(FPCore (t)
:name "Kahan p13 Example 3"
(- 1 (/ 1 (+ 2 (* (- 2 (/ (/ 2 t) (+ 1 (/ 1 t)))) (- 2 (/ (/ 2 t) (+ 1 (/ 1 t)))))))))
Time bar (total: 21.1s)Debug log
1 calls. Slowest were:
| 1.0s | (- 1 (/ 1 (+ 2 (* (- 2 (/ (/ 2 t) (+ 1 (/ 1 t)))) (- 2 (/ (/ 2 t) (+ 1 (/ 1 t)))))))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 4.6b | (- 2 (/ 2 (+ 1 t))) |
| 4.6b | (- 2 (/ 2 (+ 1 t))) |
| 0.0b | (/ 1 (fma (- 2 (/ 2 (+ 1 t))) (- 2 (/ 2 (+ 1 t))) 2)) |
| 0.0b | (/ 2 (+ 1 t)) |
4 calls. Slowest were:
| 1.0ms | (/ 1 (fma (- 2 (/ 2 (+ 1 t))) (- 2 (/ 2 (+ 1 t))) 2)) |
| 1.0ms | (- 2 (/ 2 (+ 1 t))) |
| 0.0ms | (/ 2 (+ 1 t)) |
4 calls. Slowest were:
| 27.0ms | (/ 1 (fma (- 2 (/ 2 (+ 1 t))) (- 2 (/ 2 (+ 1 t))) 2)) |
| 16.0ms | (- 2 (/ 2 (+ 1 t))) |
| 13.0ms | (- 2 (/ 2 (+ 1 t))) |
| 8.0ms | (/ 2 (+ 1 t)) |
21 calls. Slowest were:
| 738.0ms | (sqrt (fma (- 2 (/ 2 (+ 1 t))) (- 2 (/ 2 (+ 1 t))) 2)) |
| 709.0ms | (cbrt (fma (- 2 (/ 2 (+ 1 t))) (- 2 (/ 2 (+ 1 t))) 2)) |
| 686.0ms | (fma (- 2 (/ 2 (+ 1 t))) (- 2 (/ 2 (+ 1 t))) 2) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 4.6b | (- 2 (/ 2 (+ 1 t))) |
| 4.6b | (- 2 (/ 2 (+ 1 t))) |
| 1.0b | (log (exp (/ 1 (fma (- 2 (/ 2 (+ 1 t))) (- 2 (/ 2 (+ 1 t))) 2)))) |
| 0.5b | (exp (/ 1 (fma (- 2 (/ 2 (+ 1 t))) (- 2 (/ 2 (+ 1 t))) 2))) |
4 calls. Slowest were:
| 5.0ms | (log (exp (/ 1 (fma (- 2 (/ 2 (+ 1 t))) (- 2 (/ 2 (+ 1 t))) 2)))) |
| 3.0ms | (exp (/ 1 (fma (- 2 (/ 2 (+ 1 t))) (- 2 (/ 2 (+ 1 t))) 2))) |
| 1.0ms | (- 2 (/ 2 (+ 1 t))) |
4 calls. Slowest were:
| 62.0ms | (exp (/ 1 (fma (- 2 (/ 2 (+ 1 t))) (- 2 (/ 2 (+ 1 t))) 2))) |
| 40.0ms | (log (exp (/ 1 (fma (- 2 (/ 2 (+ 1 t))) (- 2 (/ 2 (+ 1 t))) 2)))) |
| 16.0ms | (- 2 (/ 2 (+ 1 t))) |
| 15.0ms | (- 2 (/ 2 (+ 1 t))) |
24 calls. Slowest were:
| 845.0ms | (/ 1 (fma (- 2 (/ 2 (+ 1 t))) (- 2 (/ 2 (+ 1 t))) 2)) |
| 790.0ms | (log (sqrt (exp (/ 1 (fma (- 2 (/ 2 (+ 1 t))) (- 2 (/ 2 (+ 1 t))) 2))))) |
| 762.0ms | (log (* (cbrt (exp (/ 1 (fma (- 2 (/ 2 (+ 1 t))) (- 2 (/ 2 (+ 1 t))) 2)))) (cbrt (exp (/ 1 (fma (- 2 (/ 2 (+ 1 t))) (- 2 (/ 2 (+ 1 t))) 2)))))) |
2 alts after pruning (0 fresh and 2 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b