


Bits error versus x
Results
Initial program 0.0
Simplified0.0
rmApplied *-un-lft-identity0.0
Applied exp-prod0.0
Simplified0.0
rmApplied fma-udef0.0
Applied unpow-prod-up0.0
rmApplied add-sqr-sqrt0.0
Applied associate-*r*0.0
Final simplification0.0
herbie shell --seed 2019002 +o rules:numerics
(FPCore (x)
:name "exp neg sub"
(exp (- (- 1 (* x x)))))
Time bar (total: 5.8s)Debug log
1 calls. Slowest were:
| 61.0ms | (exp (- (- 1 (* x x)))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (exp (fma x x -1)) |
1 calls. Slowest were:
| 1.0ms | (exp (fma x x -1)) |
1 calls. Slowest were:
| 19.0ms | (exp (fma x x -1)) |
8 calls. Slowest were:
| 166.0ms | (+ (exp -1) (+ (* (pow x 2) (exp -1)) (* 1/2 (* (pow x 4) (exp -1))))) |
| 32.0ms | (exp (* (cbrt (fma x x -1)) (cbrt (fma x x -1)))) |
| 7.0ms | (exp (sqrt (fma x x -1))) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (pow E (fma x x -1)) |
1 calls. Slowest were:
| 1.0ms | (pow E (fma x x -1)) |
1 calls. Slowest were:
| 56.0ms | (pow E (fma x x -1)) |
7 calls. Slowest were:
| 234.0ms | (+ (exp -1) (+ (* (pow x 2) (exp -1)) (* 1/2 (* (pow x 4) (exp -1))))) |
| 4.0ms | (exp (fma x x -1)) |
| 4.0ms | (exp (fma x x -1)) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0.0b
Found 2 expressions with local error:
| 0.0b | (pow E (* x x)) |
| 0.0b | (* (pow E (* x x)) (pow E -1)) |
2 calls. Slowest were:
| 8.0ms | (* (pow E (* x x)) (pow E -1)) |
| 1.0ms | (pow E (* x x)) |
2 calls. Slowest were:
| 69.0ms | (* (pow E (* x x)) (pow E -1)) |
| 30.0ms | (pow E (* x x)) |
17 calls. Slowest were:
| 327.0ms | (* (* (* (pow E (* x x)) (pow E (* x x))) (pow E (* x x))) (* (* (pow E -1) (pow E -1)) (pow E -1))) |
| 58.0ms | (+ (log (pow E (* x x))) (log (pow E -1))) |
| 52.0ms | (+ (* (log E) (* x x)) (log (pow E -1))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0.0b
Found 3 expressions with local error:
| 0.0b | (pow E (* x x)) |
| 0.0b | (* (pow E (* x x)) (sqrt (pow E -1))) |
| 0.0b | (* (* (pow E (* x x)) (sqrt (pow E -1))) (sqrt (pow E -1))) |
3 calls. Slowest were:
| 29.0ms | (* (* (pow E (* x x)) (sqrt (pow E -1))) (sqrt (pow E -1))) |
| 6.0ms | (* (pow E (* x x)) (sqrt (pow E -1))) |
| 1.0ms | (pow E (* x x)) |
3 calls. Slowest were:
| 126.0ms | (* (pow E (* x x)) (sqrt (pow E -1))) |
| 49.0ms | (* (* (pow E (* x x)) (sqrt (pow E -1))) (sqrt (pow E -1))) |
| 30.0ms | (pow E (* x x)) |
38 calls. Slowest were:
| 310.0ms | (* (* (* (pow E (* x x)) (pow E (* x x))) (pow E (* x x))) (* (* (sqrt (pow E -1)) (sqrt (pow E -1))) (sqrt (pow E -1)))) |
| 283.0ms | (* (* (* (* (pow E (* x x)) (sqrt (pow E -1))) (* (pow E (* x x)) (sqrt (pow E -1)))) (* (pow E (* x x)) (sqrt (pow E -1)))) (* (* (sqrt (pow E -1)) (sqrt (pow E -1))) (sqrt (pow E -1)))) |
| 237.0ms | (+ (* (pow x 2) (sqrt (/ 1 E))) (+ (* 1/2 (* (pow x 4) (sqrt (/ 1 E)))) (sqrt (/ 1 E)))) |
3 alts after pruning (1 fresh and 2 done)
Merged error: 0.0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b