



Bits error versus x
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019010 +o rules:numerics
(FPCore (x)
:name "Expression 3, p15"
:pre (<= 0 x 2)
:herbie-target
(* (* (+ 1.0 x) x) x)
(+ (* x (* x x)) (* x x)))
Time bar (total: 3.7s)Debug log
| 80.0ms | (+ (* x (* x x)) (* x x)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (fma (* x x) x (* x x)) |
| 1× | add-log-exp |
| 1× | log1p-expm1-u |
| 1× | fma-udef |
| 1× | add-cube-cbrt |
| 1× | add-exp-log |
| 1× | add-cbrt-cube |
| 1× | *-un-lft-identity |
| 1× | pow1 |
| 1× | expm1-log1p-u |
| 1× | add-sqr-sqrt |
| 0.0ms | (fma (* x x) x (* x x)) |
| 38.0ms | (fma (* x x) x (* x x)) |
| 7.0ms | (+ (pow x 3) (pow x 2)) |
| 6.0ms | (+ (pow x 3) (pow x 2)) |
| 6.0ms | (+ (pow x 3) (pow x 2)) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 31.8b | (sqrt (fma (* x x) x (* x x))) |
| 31.8b | (sqrt (fma (* x x) x (* x x))) |
| 0.0b | (* (sqrt (fma (* x x) x (* x x))) (sqrt (fma (* x x) x (* x x)))) |
| 0.0b | (fma (* x x) x (* x x)) |
| 12× | sqrt-prod |
| 12× | add-sqr-sqrt |
| 10× | add-cube-cbrt |
| 10× | *-un-lft-identity |
| 9× | pow1 |
| 6× | add-exp-log |
| 6× | associate-*l* |
| 6× | associate-*r* |
| 6× | pow1/2 |
| 6× | add-cbrt-cube |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | expm1-log1p-u |
| 2× | pow-prod-up |
| 2× | pow-prod-down |
| 2× | rem-sqrt-square |
| 1× | fma-udef |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | prod-exp |
| 1× | sqrt-unprod |
| 1× | pow-plus |
| 1× | rem-square-sqrt |
| 1× | pow2 |
| 10.0ms | (* (sqrt (fma (* x x) x (* x x))) (sqrt (fma (* x x) x (* x x)))) |
| 2.0ms | (sqrt (fma (* x x) x (* x x))) |
| 2.0ms | (sqrt (fma (* x x) x (* x x))) |
| 0.0ms | (fma (* x x) x (* x x)) |
| 56.0ms | (* (sqrt (fma (* x x) x (* x x))) (sqrt (fma (* x x) x (* x x)))) |
| 34.0ms | (fma (* x x) x (* x x)) |
| 32.0ms | (sqrt (fma (* x x) x (* x x))) |
| 31.0ms | (sqrt (fma (* x x) x (* x x))) |
| 356.0ms | (- (+ x (* 1/2 (pow x 2))) (* 1/8 (pow x 3))) |
| 302.0ms | (- (+ x (* 1/2 (pow x 2))) (* 1/8 (pow x 3))) |
| 192.0ms | (* (fma (* x x) x (* x x)) (fma (* x x) x (* x x))) |
| 176.0ms | (* (fma (* x x) x (* x x)) (fma (* x x) x (* x x))) |
| 150.0ms | (* (* (* (sqrt (fma (* x x) x (* x x))) (sqrt (fma (* x x) x (* x x)))) (sqrt (fma (* x x) x (* x x)))) (* (* (sqrt (fma (* x x) x (* x x))) (sqrt (fma (* x x) x (* x x)))) (sqrt (fma (* x x) x (* x x))))) |
2 alts after pruning (0 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