\[\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: 6.7 s
Input Error: 0.8
Output Error: 1.0
Log:
Profile: 🕒
\(\frac{1}{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}}\)
  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. Removed slow pow expressions

Original test:


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