\[\frac{\tan^{-1}_* \frac{im}{re}}{\log 10}\]
Test:
math.log10 on complex, imaginary part
Bits:
128 bits
Bits error versus re
Bits error versus im
Time: 5.1 s
Input Error: 0.8
Output Error: 0.9
Log:
Profile: 🕒
\(\frac{1}{{\left(\sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}}\right)}^3}\)
  1. Started with
    \[\frac{\tan^{-1}_* \frac{im}{re}}{\log 10}\]
    0.8
  2. Using strategy rm
    0.8
  3. Applied clear-num to get
    \[\color{red}{\frac{\tan^{-1}_* \frac{im}{re}}{\log 10}} \leadsto \color{blue}{\frac{1}{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}}}\]
    1.0
  4. Using strategy rm
    1.0
  5. Applied add-cube-cbrt to get
    \[\frac{1}{\color{red}{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}}} \leadsto \frac{1}{\color{blue}{{\left(\sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}}\right)}^3}}\]
    0.9

  6. Removed slow pow expressions

Original test:


(lambda ((re default) (im default))
  #:name "math.log10 on complex, imaginary part"
  (/ (atan2 im re) (log 10)))