Average Error: 0.0 → 0.1
Time: 8.3s
Precision: 64
Internal Precision: 320
\[e^{re} \cdot \sin im\]
\[\sqrt[3]{{\left(e^{re}\right)}^{3}} \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. Initial simplification0.0

    \[\leadsto \sin im \cdot e^{re}\]
  3. Using strategy rm
  4. Applied add-cbrt-cube0.1

    \[\leadsto \sin im \cdot \color{blue}{\sqrt[3]{\left(e^{re} \cdot e^{re}\right) \cdot e^{re}}}\]
  5. Applied add-cbrt-cube12.8

    \[\leadsto \color{blue}{\sqrt[3]{\left(\sin im \cdot \sin im\right) \cdot \sin im}} \cdot \sqrt[3]{\left(e^{re} \cdot e^{re}\right) \cdot e^{re}}\]
  6. Applied cbrt-unprod12.8

    \[\leadsto \color{blue}{\sqrt[3]{\left(\left(\sin im \cdot \sin im\right) \cdot \sin im\right) \cdot \left(\left(e^{re} \cdot e^{re}\right) \cdot e^{re}\right)}}\]
  7. Simplified12.8

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

    \[\leadsto \sqrt[3]{\color{blue}{{\left(\sin im\right)}^{3} \cdot {\left(e^{re}\right)}^{3}}}\]
  9. Using strategy rm
  10. Applied cbrt-prod12.8

    \[\leadsto \color{blue}{\sqrt[3]{{\left(\sin im\right)}^{3}} \cdot \sqrt[3]{{\left(e^{re}\right)}^{3}}}\]
  11. Simplified0.1

    \[\leadsto \color{blue}{\sin im} \cdot \sqrt[3]{{\left(e^{re}\right)}^{3}}\]
  12. Final simplification0.1

    \[\leadsto \sqrt[3]{{\left(e^{re}\right)}^{3}} \cdot \sin im\]

Runtime

Time bar (total: 8.3s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes0.10.10.00.10%
herbie shell --seed 2018285 
(FPCore (re im)
  :name "math.exp on complex, imaginary part"
  (* (exp re) (sin im)))