Average Error: 0.0 → 0.0
Time: 11.2s
Precision: 64
Internal Precision: 576
\[x.re \cdot y.re - x.im \cdot y.im\]
\[(x.re \cdot y.re + \left(y.im \cdot \left(-x.im\right)\right))_*\]

Error

Bits error versus x.re

Bits error versus x.im

Bits error versus y.re

Bits error versus y.im

Derivation

  1. Initial program 0.0

    \[x.re \cdot y.re - x.im \cdot y.im\]
  2. Initial simplification0.0

    \[\leadsto x.re \cdot y.re - x.im \cdot y.im\]
  3. Using strategy rm
  4. Applied fma-neg0.0

    \[\leadsto \color{blue}{(x.re \cdot y.re + \left(-x.im \cdot y.im\right))_*}\]
  5. Final simplification0.0

    \[\leadsto (x.re \cdot y.re + \left(y.im \cdot \left(-x.im\right)\right))_*\]

Runtime

Time bar (total: 11.2s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes0.00.00.00.00%
herbie shell --seed 2018296 +o rules:numerics
(FPCore (x.re x.im y.re y.im)
  :name "_multiplyComplex, real part"
  (- (* x.re y.re) (* x.im y.im)))