Average Error: 0.1 → 0.2
Time: 6.1s
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.1

    \[\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 2019051 
(FPCore (d1)
  :name "FastMath repmul"
  (*.p16 (*.p16 (*.p16 d1 d1) d1) d1))