


Bits error versus f



Bits error versus n
Results
Initial program 0.0
rmApplied log1p-expm1-u0.0
Final simplification0.0
herbie shell --seed 2019005 +o rules:numerics
(FPCore (f n)
:name "subtraction fraction"
(/ (- (+ f n)) (- f n)))
Time bar (total: 19.8s)Debug log
1 calls. Slowest were:
| 22.0ms | (/ (- (+ f n)) (- f n)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (/ (- (+ f n)) (- f n)) |
1 calls. Slowest were:
| 13.0ms | (/ (- (+ f n)) (- f n)) |
1 calls. Slowest were:
| 161.0ms | (/ (- (+ f n)) (- f n)) |
81 calls. Slowest were:
| 262.0ms | (- (- (* f f) (* n n))) |
| 88.0ms | (/ (* (* (- (+ f n)) (- (+ f n))) (- (+ f n))) (* (* (- f n) (- f n)) (- f n))) |
| 84.0ms | (/ (- (* (cbrt (+ f n)) (cbrt (+ f n)))) (* (cbrt (- f n)) (cbrt (- f n)))) |
6 alts after pruning (6 fresh and 0 done)
Merged error: 0b
Found 3 expressions with local error:
| 0.5b | (expm1 (/ (- (+ f n)) (- f n))) |
| 0.0b | (/ (- (+ f n)) (- f n)) |
| 0.0b | (log1p (expm1 (/ (- (+ f n)) (- f n)))) |
3 calls. Slowest were:
| 9.0ms | (/ (- (+ f n)) (- f n)) |
| 1.0ms | (expm1 (/ (- (+ f n)) (- f n))) |
| 0.0ms | (log1p (expm1 (/ (- (+ f n)) (- f n)))) |
3 calls. Slowest were:
| 102.0ms | (expm1 (/ (- (+ f n)) (- f n))) |
| 74.0ms | (log1p (expm1 (/ (- (+ f n)) (- f n)))) |
| 39.0ms | (/ (- (+ f n)) (- f n)) |
89 calls. Slowest were:
| 239.0ms | (- (- (* f f) (* n n))) |
| 118.0ms | (/ (* (* (- (+ f n)) (- (+ f n))) (- (+ f n))) (* (* (- f n) (- f n)) (- f n))) |
| 84.0ms | (/ (- (* (cbrt (+ f n)) (cbrt (+ f n)))) (* (cbrt (- f n)) (cbrt (- f n)))) |
5 alts after pruning (4 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.5b | (expm1 (* (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (/ (- (+ f n)) (- f n)))) (cbrt (/ (- (+ f n)) (- f n))))) |
| 0.0b | (* (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (/ (- (+ f n)) (- f n)))) (cbrt (/ (- (+ f n)) (- f n)))) |
| 0.0b | (/ (- (+ f n)) (- f n)) |
| 0.0b | (/ (- (+ f n)) (- f n)) |
4 calls. Slowest were:
| 20.0ms | (* (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (/ (- (+ f n)) (- f n)))) (cbrt (/ (- (+ f n)) (- f n)))) |
| 11.0ms | (/ (- (+ f n)) (- f n)) |
| 5.0ms | (/ (- (+ f n)) (- f n)) |
4 calls. Slowest were:
| 127.0ms | (expm1 (* (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (/ (- (+ f n)) (- f n)))) (cbrt (/ (- (+ f n)) (- f n))))) |
| 94.0ms | (* (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (/ (- (+ f n)) (- f n)))) (cbrt (/ (- (+ f n)) (- f n)))) |
| 56.0ms | (/ (- (+ f n)) (- f n)) |
| 53.0ms | (/ (- (+ f n)) (- f n)) |
238 calls. Slowest were:
| 314.0ms | (* (* (* (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (/ (- (+ f n)) (- f n)))) (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (/ (- (+ f n)) (- f n))))) (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (/ (- (+ f n)) (- f n))))) (/ (- (+ f n)) (- f n))) |
| 272.0ms | (* (* (/ (- (+ f n)) (- f n)) (/ (- (+ f n)) (- f n))) (/ (- (+ f n)) (- f n))) |
| 268.0ms | (- (- (* f f) (* n n))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.6b | (cbrt (- f n)) |
| 0.6b | (cbrt (- (+ f n))) |
| 0.5b | (expm1 (/ (* (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (/ (- (+ f n)) (- f n)))) (cbrt (- (+ f n)))) (cbrt (- f n)))) |
| 0.0b | (/ (* (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (/ (- (+ f n)) (- f n)))) (cbrt (- (+ f n)))) (cbrt (- f n))) |
4 calls. Slowest were:
| 22.0ms | (/ (* (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (/ (- (+ f n)) (- f n)))) (cbrt (- (+ f n)))) (cbrt (- f n))) |
| 1.0ms | (cbrt (- f n)) |
| 1.0ms | (cbrt (- (+ f n))) |
4 calls. Slowest were:
| 157.0ms | (cbrt (- (+ f n))) |
| 154.0ms | (cbrt (- f n)) |
| 152.0ms | (expm1 (/ (* (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (/ (- (+ f n)) (- f n)))) (cbrt (- (+ f n)))) (cbrt (- f n)))) |
| 79.0ms | (/ (* (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (/ (- (+ f n)) (- f n)))) (cbrt (- (+ f n)))) (cbrt (- f n))) |
68 calls. Slowest were:
| 430.0ms | (/ (* (* (* (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (/ (- (+ f n)) (- f n)))) (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (/ (- (+ f n)) (- f n))))) (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (/ (- (+ f n)) (- f n))))) (- (+ f n))) (- f n)) |
| 394.0ms | (* (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (/ (- (+ f n)) (- f n)))) (cbrt (- (- (* f f) (* n n))))) |
| 388.0ms | (* (* (cbrt (/ (- (+ f n)) (- f n))) (cbrt (- (+ f n)))) (cbrt (- (- (* f f) (* n n))))) |
4 alts after pruning (2 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