


Bits error versus x
Initial program 14.2
rmApplied frac-sub13.6
Simplified0.4
Simplified0.4
Final simplification0.4
herbie shell --seed 2019007 +o rules:numerics
(FPCore (x)
:name "2frac (problem 3.3.1)"
(- (/ 1 (+ x 1)) (/ 1 x)))
Time bar (total: 9.8s)Debug log
1 calls. Slowest were:
| 10.0ms | (- (/ 1 (+ x 1)) (/ 1 x)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 11.9b
Found 2 expressions with local error:
| 3.5b | (- (/ 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:
| 18.0ms | (- (/ 1 (+ x 1)) (/ 1 x)) |
| 10.0ms | (/ 1 (+ x 1)) |
73 calls. Slowest were:
| 450.0ms | (fma (/ 1 (+ (pow x 3) (pow 1 3))) (+ (* x x) (- (* 1 1) (* x 1))) (- (* (sqrt (/ 1 x)) (sqrt (/ 1 x))))) |
| 378.0ms | (fma (/ 1 (+ (pow x 3) (pow 1 3))) (+ (* x x) (- (* 1 1) (* x 1))) (- (* (/ 1 x) 1))) |
| 378.0ms | (fma (/ 1 (+ (pow x 3) (pow 1 3))) (+ (* x x) (- (* 1 1) (* x 1))) (- (* (/ 1 x) 1))) |
4 alts after pruning (4 fresh and 0 done)
Merged error: 0.2b
Found 1 expressions with local error:
| 0.2b | (/ -1 (fma x x x)) |
1 calls. Slowest were:
| 0.0ms | (/ -1 (fma x x x)) |
1 calls. Slowest were:
| 13.0ms | (/ -1 (fma x x x)) |
6 calls. Slowest were:
| 52.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 40.0ms | (- (/ 1 (pow x 3)) (+ (/ 1 (pow x 4)) (/ 1 (pow x 2)))) |
| 26.0ms | (- 1 (+ x (/ 1 x))) |
6 alts after pruning (5 fresh and 1 done)
Merged error: 0.2b
Found 4 expressions with local error:
| 17.8b | (cbrt (fma x x x)) |
| 17.8b | (cbrt (fma x x x)) |
| 17.8b | (cbrt (fma x x x)) |
| 1.1b | (/ -1 (* (cbrt (fma x x x)) (cbrt (fma x x x)))) |
4 calls. Slowest were:
| 2.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:
| 52.0ms | (cbrt (fma x x x)) |
| 47.0ms | (cbrt (fma x x x)) |
| 45.0ms | (cbrt (fma x x x)) |
| 41.0ms | (/ -1 (* (cbrt (fma x x x)) (cbrt (fma x x x)))) |
22 calls. Slowest were:
| 93.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))) |
| 70.0ms | (- (+ (* 1/3 (pow (/ 1 x) 1/3)) (pow (/ 1 x) -2/3)) (* 1/9 (pow (/ 1 (pow x 4)) 1/3))) |
| 67.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 (4 fresh and 1 done)
Merged error: 0.2b
Found 4 expressions with local error:
| 17.8b | (cbrt (fma x x x)) |
| 17.8b | (cbrt (fma x x x)) |
| 17.8b | (cbrt (fma x x x)) |
| 17.8b | (cbrt (fma x x x)) |
4 calls. Slowest were:
| 1.0ms | (cbrt (fma x x x)) |
| 1.0ms | (cbrt (fma x x x)) |
| 1.0ms | (cbrt (fma x x x)) |
4 calls. Slowest were:
| 44.0ms | (cbrt (fma x x x)) |
| 34.0ms | (cbrt (fma x x x)) |
| 32.0ms | (cbrt (fma x x x)) |
| 32.0ms | (cbrt (fma x x x)) |
24 calls. Slowest were:
| 74.0ms | (- (+ (* 1/3 (pow (/ 1 x) 1/3)) (pow (/ 1 x) -2/3)) (* 1/9 (pow (/ 1 (pow x 4)) 1/3))) |
| 67.0ms | (- (+ (* 1/3 (pow (/ 1 x) 1/3)) (pow (/ 1 x) -2/3)) (* 1/9 (pow (/ 1 (pow x 4)) 1/3))) |
| 63.0ms | (- (+ (* 1/3 (pow (pow x 4) 1/3)) (pow x 1/3)) (* 1/9 (pow (pow x 7) 1/3))) |
5 alts after pruning (3 fresh and 2 done)
Merged error: 0.2b
0% (0.1b remaining)
Error of 0.4b against oracle of 0.3b and baseline of 0.4b