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

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

    \[\left(0.5 \cdot \sin re\right) \cdot \left(e^{0 - im} + e^{im}\right)\]
  2. Initial simplification0.0

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

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

Runtime

Time bar (total: 5.9s)Debug logProfile

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