Average Error: 0.0 → 0.0
Time: 9.0s
Precision: 64
Internal Precision: 576
\[e^{re} \cdot \sin im\]
\[e^{re} \cdot \sin im\]

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

    \[e^{re} \cdot \sin im\]
  2. Using strategy rm
  3. Applied add-sqr-sqrt0.0

    \[\leadsto \color{blue}{\left(\sqrt{e^{re}} \cdot \sqrt{e^{re}}\right)} \cdot \sin im\]
  4. Applied associate-*l*0.0

    \[\leadsto \color{blue}{\sqrt{e^{re}} \cdot \left(\sqrt{e^{re}} \cdot \sin im\right)}\]
  5. Taylor expanded around inf 0.0

    \[\leadsto \color{blue}{\sin im \cdot e^{re}}\]
  6. Final simplification0.0

    \[\leadsto e^{re} \cdot \sin im\]

Runtime

Time bar (total: 9.0s)Debug logProfile

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