Average Error: 0.2 → 0.2
Time: 5.5s
Precision: 64
Internal Precision: 320
\[\left(\left(d1 \cdot d1\right) \cdot d1\right) \cdot d1\]
\[\left(d1 \cdot d1\right) \cdot \left(d1 \cdot d1\right)\]

Error

Bits error versus d1

Derivation

  1. Initial program 0.2

    \[\left(\left(d1 \cdot d1\right) \cdot d1\right) \cdot d1\]
  2. Simplified0.2

    \[\leadsto \color{blue}{\left(d1 \cdot d1\right) \cdot \left(d1 \cdot d1\right)}\]
  3. Final simplification0.2

    \[\leadsto \left(d1 \cdot d1\right) \cdot \left(d1 \cdot d1\right)\]

Reproduce

herbie shell --seed 2019088 +o rules:numerics
(FPCore (d1)
  :name "FastMath repmul"
  (*.p16 (*.p16 (*.p16 d1 d1) d1) d1))