Average Error: 0.0 → 0.0
Time: 8.6s
Precision: 64
Internal Precision: 576
\[\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^{im}\right) + \left(\frac{\sin re}{\frac{e^{im}}{0.5}}\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. Initial simplification0.0

    \[\leadsto (\left(0.5 \cdot \sin re\right) \cdot \left(e^{im}\right) + \left(\frac{\sin re}{\frac{e^{im}}{0.5}}\right))_*\]
  3. Final simplification0.0

    \[\leadsto (\left(0.5 \cdot \sin re\right) \cdot \left(e^{im}\right) + \left(\frac{\sin re}{\frac{e^{im}}{0.5}}\right))_*\]

Runtime

Time bar (total: 8.6s)Debug logProfile

herbie shell --seed 2018225 +o rules:numerics
(FPCore (re im)
  :name "math.sin on complex, real part"
  (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im))))