Average Error: 0.0 → 0.0
Time: 10.2s
Precision: 64
Internal Precision: 384
\[e^{re} \cdot \sin im\]
\[\sqrt{e^{re}} \cdot \left(\sqrt{e^{re}} \cdot \sin im\right)\]

Error

Bits error versus re

Bits error versus im

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)}\]

Runtime

Time bar (total: 10.2s)Debug logProfile

herbie shell --seed '#(1070258749 1877548225 2229079127 1588002776 3179087814 1886870650)' +o rules:numerics
(FPCore (re im)
  :name "math.exp on complex, imaginary part"
  (* (exp re) (sin im)))