Average Error: 0.9 → 0.4
Time: 9.8s
Precision: 64
Internal Precision: 320
\[\frac{\tan^{-1}_* \frac{im}{re}}{\log 10}\]
\[\log_* (1 + \log_* (1 + (e^{(e^{\frac{1}{\sqrt{\log 10}} \cdot \left(\tan^{-1}_* \frac{im}{re} \cdot \frac{1}{\sqrt{\log 10}}\right)} - 1)^*} - 1)^*))\]

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.9

    \[\frac{\tan^{-1}_* \frac{im}{re}}{\log 10}\]
  2. Initial simplification0.9

    \[\leadsto \frac{\tan^{-1}_* \frac{im}{re}}{\log 10}\]
  3. Using strategy rm
  4. Applied log1p-expm1-u0.7

    \[\leadsto \color{blue}{\log_* (1 + (e^{\frac{\tan^{-1}_* \frac{im}{re}}{\log 10}} - 1)^*)}\]
  5. Using strategy rm
  6. Applied log1p-expm1-u0.5

    \[\leadsto \log_* (1 + \color{blue}{\log_* (1 + (e^{(e^{\frac{\tan^{-1}_* \frac{im}{re}}{\log 10}} - 1)^*} - 1)^*)})\]
  7. Using strategy rm
  8. Applied add-sqr-sqrt0.5

    \[\leadsto \log_* (1 + \log_* (1 + (e^{(e^{\frac{\tan^{-1}_* \frac{im}{re}}{\color{blue}{\sqrt{\log 10} \cdot \sqrt{\log 10}}}} - 1)^*} - 1)^*))\]
  9. Applied *-un-lft-identity0.5

    \[\leadsto \log_* (1 + \log_* (1 + (e^{(e^{\frac{\color{blue}{1 \cdot \tan^{-1}_* \frac{im}{re}}}{\sqrt{\log 10} \cdot \sqrt{\log 10}}} - 1)^*} - 1)^*))\]
  10. Applied times-frac0.5

    \[\leadsto \log_* (1 + \log_* (1 + (e^{(e^{\color{blue}{\frac{1}{\sqrt{\log 10}} \cdot \frac{\tan^{-1}_* \frac{im}{re}}{\sqrt{\log 10}}}} - 1)^*} - 1)^*))\]
  11. Using strategy rm
  12. Applied div-inv0.4

    \[\leadsto \log_* (1 + \log_* (1 + (e^{(e^{\frac{1}{\sqrt{\log 10}} \cdot \color{blue}{\left(\tan^{-1}_* \frac{im}{re} \cdot \frac{1}{\sqrt{\log 10}}\right)}} - 1)^*} - 1)^*))\]
  13. Applied associate-*r*0.4

    \[\leadsto \log_* (1 + \log_* (1 + (e^{(e^{\color{blue}{\left(\frac{1}{\sqrt{\log 10}} \cdot \tan^{-1}_* \frac{im}{re}\right) \cdot \frac{1}{\sqrt{\log 10}}}} - 1)^*} - 1)^*))\]
  14. Final simplification0.4

    \[\leadsto \log_* (1 + \log_* (1 + (e^{(e^{\frac{1}{\sqrt{\log 10}} \cdot \left(\tan^{-1}_* \frac{im}{re} \cdot \frac{1}{\sqrt{\log 10}}\right)} - 1)^*} - 1)^*))\]

Runtime

Time bar (total: 9.8s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes0.40.40.00.40%
herbie shell --seed 2018290 +o rules:numerics
(FPCore (re im)
  :name "math.log10 on complex, imaginary part"
  (/ (atan2 im re) (log 10)))