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

Error

Bits error versus re

Bits error versus im

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[re \cdot re - im \cdot im\]

Runtime

Time bar (total: 12.8s)Debug logProfile

herbie shell --seed 2018193 
(FPCore (re im)
  :name "math.square on complex, real part"
  (- (* re re) (* im im)))