


Bits error versus x
Initial program 14.8
rmApplied flip--29.1
Applied associate-/r/29.2
Applied flip-+14.8
Applied associate-/r/14.8
Applied distribute-lft-out--14.2
Simplified14.2
Simplified0.4
Final simplification0.4
herbie shell --seed 2019005 +o rules:numerics
(FPCore (x)
:name "Asymptote A"
(- (/ 1 (+ x 1)) (/ 1 (- x 1))))
Time bar (total: 29.0s)Debug log
1 calls. Slowest were:
| 13.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 14.7b
Found 3 expressions with local error:
| 2.6b | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 0.0b | (/ 1 (+ x 1)) |
| 0.0b | (/ 1 (- x 1)) |
3 calls. Slowest were:
| 7.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 1.0ms | (/ 1 (+ x 1)) |
| 1.0ms | (/ 1 (- x 1)) |
3 calls. Slowest were:
| 26.0ms | (- (/ 1 (+ x 1)) (/ 1 (- x 1))) |
| 20.0ms | (/ 1 (- x 1)) |
| 10.0ms | (/ 1 (+ x 1)) |
108 calls. Slowest were:
| 1.2s | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
| 1.1s | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
| 1.0s | (fma (- (+ x 1)) (/ 1 (- (* x x) (* 1 1))) (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.2b
Found 2 expressions with local error:
| 0.2b | (/ 1 (fma x x -1)) |
| 0.0b | (* (/ 1 (fma x x -1)) -2) |
2 calls. Slowest were:
| 6.0ms | (* (/ 1 (fma x x -1)) -2) |
| 2.0ms | (/ 1 (fma x x -1)) |
2 calls. Slowest were:
| 24.0ms | (* (/ 1 (fma x x -1)) -2) |
| 23.0ms | (/ 1 (fma x x -1)) |
13 calls. Slowest were:
| 838.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 823.0ms | (- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2)))))) |
| 103.0ms | (+ (* 2 (pow x 2)) (+ (* 2 (pow x 4)) 2)) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 14.5b | (cbrt (/ 1 (fma x x -1))) |
| 14.5b | (cbrt (/ 1 (fma x x -1))) |
| 14.5b | (cbrt (/ 1 (fma x x -1))) |
| 0.2b | (/ 1 (fma x x -1)) |
4 calls. Slowest were:
| 3.0ms | (cbrt (/ 1 (fma x x -1))) |
| 1.0ms | (/ 1 (fma x x -1)) |
| 1.0ms | (cbrt (/ 1 (fma x x -1))) |
4 calls. Slowest were:
| 120.0ms | (cbrt (/ 1 (fma x x -1))) |
| 101.0ms | (cbrt (/ 1 (fma x x -1))) |
| 87.0ms | (cbrt (/ 1 (fma x x -1))) |
| 15.0ms | (/ 1 (fma x x -1)) |
31 calls. Slowest were:
| 204.0ms | (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (+ (* 2/9 (* (pow x 4) (pow -1 1/3))) (pow -1 1/3))) |
| 184.0ms | (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (+ (* 2/9 (* (pow x 4) (pow -1 1/3))) (pow -1 1/3))) |
| 163.0ms | (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (+ (* 2/9 (* (pow x 4) (pow -1 1/3))) (pow -1 1/3))) |
4 alts after pruning (2 fresh and 2 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 14.6b | (cbrt (fma x x -1)) |
| 14.5b | (cbrt (/ 1 (fma x x -1))) |
| 14.5b | (cbrt (/ 1 (fma x x -1))) |
| 0.2b | (/ 1 (fma x x -1)) |
4 calls. Slowest were:
| 1.0ms | (/ 1 (fma x x -1)) |
| 1.0ms | (cbrt (/ 1 (fma x x -1))) |
| 1.0ms | (cbrt (/ 1 (fma x x -1))) |
4 calls. Slowest were:
| 152.0ms | (cbrt (/ 1 (fma x x -1))) |
| 126.0ms | (cbrt (/ 1 (fma x x -1))) |
| 111.0ms | (cbrt (fma x x -1)) |
| 24.0ms | (/ 1 (fma x x -1)) |
29 calls. Slowest were:
| 258.0ms | (- (pow -1 1/3) (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (* 1/9 (* (pow x 4) (pow -1 1/3))))) |
| 191.0ms | (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (+ (* 2/9 (* (pow x 4) (pow -1 1/3))) (pow -1 1/3))) |
| 177.0ms | (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (+ (* 2/9 (* (pow x 4) (pow -1 1/3))) (pow -1 1/3))) |
4 alts after pruning (1 fresh and 3 done)
Merged error: 0.1b
0% (0.1b remaining)
Error of 0.4b against oracle of 0.4b and baseline of 0.4b