Average Error: 0.0 → 0.0
Time: 10.7s
Precision: 64
Internal Precision: 384
\[re \cdot re - im \cdot im\]
\[re \cdot re - im \cdot im\]

Error

Bits error versus re

Bits error versus im

Derivation

  1. Initial program 0.0

    \[re \cdot re - im \cdot im\]
  2. Removed slow pow expressions.

Runtime

Time bar (total: 10.7s)Debug logProfile

herbie shell --seed '#(1063027428 1192549564 1443466578 604016274 3637110559 1698629644)' 
(FPCore (re im)
  :name "math.square on complex, real part"
  (- (* re re) (* im im)))