



Bits error versus d1




Bits error versus d2




Bits error versus d3
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
rmApplied fma-def0.0
Final simplification0.0
herbie shell --seed 2019016 +o rules:numerics
(FPCore (d1 d2 d3)
:name "FastMath dist"
:herbie-target
(* d1 (+ d2 d3))
(+ (* d1 d2) (* d1 d3)))
Time bar (total: 1.8s)Debug log
| 330× | (pre true 80) |
| 330× | (body real 80) |
| 6.0ms | (+ (* d1 d2) (* d1 d3)) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (+ (* d1 d2) (* d1 d3)) |
| 3× | add-log-exp |
| 1× | distribute-lft-out |
| 1× | log1p-expm1-u |
| 1× | flip-+ |
| 1× | add-cube-cbrt |
| 1× | add-exp-log |
| 1× | add-cbrt-cube |
| 1× | flip3-+ |
| 1× | *-un-lft-identity |
| 1× | fma-def |
| 1× | sum-log |
| 1× | +-commutative |
| 1× | pow1 |
| 1× | expm1-log1p-u |
| 1× | add-sqr-sqrt |
| 2.0ms | (+ (* d1 d2) (* d1 d3)) |
| 20.0ms | (+ (* d1 d2) (* d1 d3)) |
| 14.0ms | (* (exp (* d1 d2)) (exp (* d1 d3))) |
| 7.0ms | (+ (* d2 d1) (* d3 d1)) |
| 6.0ms | (+ (* d3 d1) (* d2 d1)) |
| 6.0ms | (+ (* d3 d1) (* d2 d1)) |
| 3.0ms | (+ d2 d3) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (fma d1 d2 (* d1 d3)) |
| 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 d1 d2 (* d1 d3)) |
| 34.0ms | (fma d1 d2 (* d1 d3)) |
| 14.0ms | (+ (* d2 d1) (* d3 d1)) |
| 12.0ms | (+ (* d3 d1) (* d2 d1)) |
| 11.0ms | (+ (* d3 d1) (* d2 d1)) |
1 alts after pruning (0 fresh and 1 done)
Merged error: 0.0b
| 10125× | (pre true 80) |
| 10125× | (body real 80) |