Average Error: 0.0 → 0.0
Time: 7.0s
Precision: 64
Internal Precision: 576
\[x.re \cdot y.im + x.im \cdot y.re\]
\[(x.im \cdot y.re + \left(y.im \cdot x.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))_*}\]

Runtime

Time bar (total: 7.0s)Debug logProfile

herbie shell --seed '#(1072967564 1937075727 894099792 790700740 1036514779 1027793188)' +o rules:numerics
(FPCore (x.re x.im y.re y.im)
  :name "_multiplyComplex, imaginary part"
  (+ (* x.re y.im) (* x.im y.re)))