


Bits error versus x
Initial program 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019016 +o rules:numerics
(FPCore (x)
:name "exp neg sub"
(exp (- (- 1 (* x x)))))
Time bar (total: 6.1s)Debug log
| 526× | (pre true 80) |
| 526× | (body real 80) |
| 74.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)) |
| 3× | exp-prod |
| 2× | add-log-exp |
| 2× | add-cube-cbrt |
| 2× | *-un-lft-identity |
| 2× | add-sqr-sqrt |
| 1× | rem-exp-log |
| 1× | log1p-expm1-u |
| 1× | fma-udef |
| 1× | add-exp-log |
| 1× | exp-sum |
| 1× | add-cbrt-cube |
| 1× | pow1 |
| 1× | expm1-log1p-u |
| 2.0ms | (exp (fma x x -1)) |
| 20.0ms | (exp (fma x x -1)) |
| 205.0ms | (+ (exp -1) (+ (* (pow x 2) (exp -1)) (* 1/2 (* (pow x 4) (exp -1))))) |
| 24.0ms | (exp (* (cbrt (fma x x -1)) (cbrt (fma x x -1)))) |
| 4.0ms | (exp (sqrt (fma x x -1))) |
| 2.0ms | (exp (fma x x -1)) |
| 2.0ms | (exp (fma x x -1)) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 1.0b | (cbrt (exp (fma x x -1))) |
| 1.0b | (cbrt (exp (fma x x -1))) |
| 1.0b | (cbrt (exp (fma x x -1))) |
| 0.0b | (* (cbrt (exp (fma x x -1))) (cbrt (exp (fma x x -1)))) |
| 20× | cbrt-prod |
| 11× | add-cube-cbrt |
| 11× | *-un-lft-identity |
| 11× | add-sqr-sqrt |
| 9× | pow1 |
| 7× | associate-*l* |
| 7× | associate-*r* |
| 7× | pow1/3 |
| 6× | add-exp-log |
| 5× | fma-udef |
| 5× | exp-sum |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | add-cbrt-cube |
| 4× | expm1-log1p-u |
| 2× | pow-prod-up |
| 2× | pow-prod-down |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | prod-exp |
| 1× | pow-plus |
| 1× | pow2 |
| 15.0ms | (* (cbrt (exp (fma x x -1))) (cbrt (exp (fma x x -1)))) |
| 2.0ms | (cbrt (exp (fma x x -1))) |
| 2.0ms | (cbrt (exp (fma x x -1))) |
| 1.0ms | (cbrt (exp (fma x x -1))) |
| 203.0ms | (* (cbrt (exp (fma x x -1))) (cbrt (exp (fma x x -1)))) |
| 200.0ms | (cbrt (exp (fma x x -1))) |
| 162.0ms | (cbrt (exp (fma x x -1))) |
| 150.0ms | (cbrt (exp (fma x x -1))) |
| 352.0ms | (+ (* 1/18 (* (pow x 4) (exp -1/3))) (+ (exp -1/3) (* 1/3 (* (pow x 2) (exp -1/3))))) |
| 309.0ms | (+ (* 1/18 (* (pow x 4) (exp -1/3))) (+ (exp -1/3) (* 1/3 (* (pow x 2) (exp -1/3))))) |
| 301.0ms | (+ (* 1/18 (* (pow x 4) (exp -1/3))) (+ (exp -1/3) (* 1/3 (* (pow x 2) (exp -1/3))))) |
| 216.0ms | (+ (* 2/9 (* (pow x 4) (pow (pow (exp -1) 2) 1/3))) (+ (* 2/3 (* (pow x 2) (pow (pow (exp -1) 2) 1/3))) (pow (pow (exp -1) 2) 1/3))) |
| 99.0ms | (cbrt (* (cbrt (exp (fma x x -1))) (cbrt (exp (fma x x -1))))) |
2 alts after pruning (0 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
| 15949× | (pre true 80) |
| 15949× | (body real 80) |