\[e^{re} \cdot \sin im\]
Test:
math.exp on complex, imaginary part
Bits:
128 bits
Bits error versus re
Bits error versus im
Time: 4.0 s
Input Error: 0.1
Output Error: 0.2
Log:
Profile: 🕒
\(\log_* (1 + (e^{e^{re} \cdot \sin im} - 1)^*)\)
  1. Started with
    \[e^{re} \cdot \sin im\]
    0.1
  2. Using strategy rm
    0.1
  3. Applied log1p-expm1-u to get
    \[\color{red}{e^{re} \cdot \sin im} \leadsto \color{blue}{\log_* (1 + (e^{e^{re} \cdot \sin im} - 1)^*)}\]
    0.2

Original test:


(lambda ((re default) (im default))
  #:name "math.exp on complex, imaginary part"
  (* (exp re) (sin im)))