


Bits error versus x
Initial program 14.6
rmApplied frac-sub14.0
Simplified0.4
Simplified0.4
Final simplification0.4
herbie shell --seed 2019008 +o rules:numerics
(FPCore (x)
:name "2frac (problem 3.3.1)"
(- (/ 1 (+ x 1)) (/ 1 x)))
Time bar (total: 11.4s)Debug log
1 calls. Slowest were:
| 5.0ms | (- (/ 1 (+ x 1)) (/ 1 x)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 13.8b
Found 2 expressions with local error:
| 1.3b | (- (/ 1 (+ x 1)) (/ 1 x)) |
| 0.0b | (/ 1 (+ x 1)) |
2 calls. Slowest were:
| 12.0ms | (- (/ 1 (+ x 1)) (/ 1 x)) |
| 2.0ms | (/ 1 (+ x 1)) |
2 calls. Slowest were:
| 22.0ms | (- (/ 1 (+ x 1)) (/ 1 x)) |
| 7.0ms | (/ 1 (+ x 1)) |
73 calls. Slowest were:
| 474.0ms | (fma (/ 1 (+ (pow x 3) (pow 1 3))) (+ (* x x) (- (* 1 1) (* x 1))) (- (* (sqrt (/ 1 x)) (sqrt (/ 1 x))))) |
| 381.0ms | (fma (/ 1 (+ (pow x 3) (pow 1 3))) (+ (* x x) (- (* 1 1) (* x 1))) (- (* (/ 1 x) 1))) |
| 336.0ms | (fma (/ 1 (+ (pow x 3) (pow 1 3))) (+ (* x x) (- (* 1 1) (* x 1))) (- (* (/ 1 x) 1))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.1b
Found 1 expressions with local error:
| 0.1b | (/ -1 (fma x x x)) |
1 calls. Slowest were:
| 1.0ms | (/ -1 (fma x x x)) |
1 calls. Slowest were:
| 12.0ms | (/ -1 (fma x x x)) |
6 calls. Slowest were:
| 71.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 44.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 35.0ms | (- 1 (+ x (/ 1 x))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 14.5b | (cbrt (fma x x x)) |
| 14.5b | (cbrt (fma x x x)) |
| 14.5b | (cbrt (fma x x x)) |
| 0.9b | (/ -1 (* (cbrt (fma x x x)) (cbrt (fma x x x)))) |
4 calls. Slowest were:
| 3.0ms | (/ -1 (* (cbrt (fma x x x)) (cbrt (fma x x x)))) |
| 1.0ms | (cbrt (fma x x x)) |
| 1.0ms | (cbrt (fma x x x)) |
4 calls. Slowest were:
| 56.0ms | (cbrt (fma x x x)) |
| 52.0ms | (/ -1 (* (cbrt (fma x x x)) (cbrt (fma x x x)))) |
| 44.0ms | (cbrt (fma x x x)) |
| 43.0ms | (cbrt (fma x x x)) |
22 calls. Slowest were:
| 116.0ms | (- (* 2/3 (pow (/ 1 (pow x 7)) 1/3)) (+ (* 5/9 (pow (/ 1 (pow x 10)) 1/3)) (pow (/ 1 (pow x 4)) 1/3))) |
| 82.0ms | (- (* 2/3 (pow x 1/3)) (+ (pow (/ 1 (pow x 2)) 1/3) (* 5/9 (pow (pow x 4) 1/3)))) |
| 82.0ms | (- (* 2/3 (pow (/ 1 (pow x 7)) 1/3)) (+ (* 5/9 (pow (/ 1 (pow x 10)) 1/3)) (pow (/ 1 (pow x 4)) 1/3))) |
5 alts after pruning (4 fresh and 1 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 14.5b | (cbrt (fma x x x)) |
| 14.5b | (cbrt (fma x x x)) |
| 14.5b | (cbrt (fma x x x)) |
| 0.3b | (/ (/ -1 (cbrt (fma x x x))) (cbrt (fma x x x))) |
4 calls. Slowest were:
| 8.0ms | (/ (/ -1 (cbrt (fma x x x))) (cbrt (fma x x x))) |
| 1.0ms | (cbrt (fma x x x)) |
| 1.0ms | (cbrt (fma x x x)) |
4 calls. Slowest were:
| 57.0ms | (cbrt (fma x x x)) |
| 53.0ms | (cbrt (fma x x x)) |
| 45.0ms | (cbrt (fma x x x)) |
| 39.0ms | (/ (/ -1 (cbrt (fma x x x))) (cbrt (fma x x x))) |
79 calls. Slowest were:
| 123.0ms | (/ (* (* (/ -1 (cbrt (fma x x x))) (/ -1 (cbrt (fma x x x)))) (/ -1 (cbrt (fma x x x)))) (fma x x x)) |
| 118.0ms | (- (* 2/3 (pow (/ 1 (pow x 7)) 1/3)) (+ (* 5/9 (pow (/ 1 (pow x 10)) 1/3)) (pow (/ 1 (pow x 4)) 1/3))) |
| 79.0ms | (- (+ (* 1/3 (pow (/ 1 x) 1/3)) (pow (/ -1 x) -2/3)) (* 1/9 (pow (/ 1 (pow x 4)) 1/3))) |
5 alts after pruning (3 fresh and 2 done)
Merged error: 0.1b
0% (0.0b remaining)
Error of 0.4b against oracle of 0.4b and baseline of 0.4b