\[\left(0.5 \cdot \sin re\right) \cdot \left(e^{0 - im} + e^{im}\right)\]
Test:
math.sin on complex, real part
Bits:
128 bits
Bits error versus re
Bits error versus im
Time: 14.2 s
Input Error: 0.1
Output Error: 0.1
Log:
Profile: 🕒
\(\left(0.5 \cdot \sin re\right) \cdot \left(e^{0 - im} + e^{im}\right)\)
  1. Started with
    \[\left(0.5 \cdot \sin re\right) \cdot \left(e^{0 - im} + e^{im}\right)\]
    0.1

  2. Removed slow pow expressions

Original test:


(lambda ((re default) (im default))
  #:name "math.sin on complex, real part"
  (* (* 0.5 (sin re)) (+ (exp (- 0 im)) (exp im))))