Average Error: 0.0 → 0.0
Time: 39.4s
Precision: 64
Internal precision: 128
\[\left(0.5 \cdot \sin re\right) \cdot \left(e^{0 - im} + e^{im}\right)\]
\[\left(0.5 \cdot \sin re\right) \cdot \left(e^{0 - im} + e^{im}\right)\]

Error

Bits error versus re

Bits error versus im

Derivation

  1. Initial program 0.0

    \[\left(0.5 \cdot \sin re\right) \cdot \left(e^{0 - im} + e^{im}\right)\]
  2. Removed slow pow expressions

Runtime

Time bar (total: 39.4s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(906255917 299255002 3311735703 3772140410 3845106084 3166911737)'
(FPCore (re im)
  :name "math.sin on complex, real part"
  (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im))))