Average Error: 0.0 → 0.0
Time: 6.1s
Precision: 64
Internal Precision: 320
\[x.re \cdot y.im + x.im \cdot y.re\]
\[(x.re \cdot y.im + \left(x.im \cdot y.re\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.im + x.im \cdot y.re\]
  2. Applied simplify0.0

    \[\leadsto \color{blue}{(x.im \cdot y.re + \left(y.im \cdot x.re\right))_*}\]
  3. Taylor expanded around inf 0.0

    \[\leadsto \color{blue}{y.re \cdot x.im + x.re \cdot y.im}\]
  4. Applied simplify0.0

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

Runtime

Time bar (total: 6.1s)Debug logProfile

herbie shell --seed '#(1071725047 233389029 2036512464 3988615230 2972226563 1111574017)' +o rules:numerics
(FPCore (x.re x.im y.re y.im)
  :name "_multiplyComplex, imaginary part"
  (+ (* x.re y.im) (* x.im y.re)))