Average Error: 0.0 → 0.0
Time: 3.1s
Precision: 64
Internal Precision: 128
\[re \cdot im + im \cdot re\]
\[re \cdot im + re \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 im + im \cdot re\]
  2. Final simplification0.0

    \[\leadsto re \cdot im + re \cdot im\]

Runtime

Time bar (total: 3.1s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes0.00.000.00%
herbie shell --seed 2018351 
(FPCore (re im)
  :name "math.square on complex, imaginary part"
  (+ (* re im) (* im re)))