Average Error: 0.8 → 0.8
Time: 3.4s
Precision: 64
\[\frac{\tan^{-1}_* \frac{im}{re}}{\log 10}\]
\[\frac{1}{\left(\sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}} \cdot \left(\sqrt[3]{\frac{\sqrt{\log 10}}{1}} \cdot \sqrt[3]{\frac{\sqrt{\log 10}}{\tan^{-1}_* \frac{im}{re}}}\right)\right) \cdot \sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}}}\]
\frac{\tan^{-1}_* \frac{im}{re}}{\log 10}
\frac{1}{\left(\sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}} \cdot \left(\sqrt[3]{\frac{\sqrt{\log 10}}{1}} \cdot \sqrt[3]{\frac{\sqrt{\log 10}}{\tan^{-1}_* \frac{im}{re}}}\right)\right) \cdot \sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}}}
double code(double re, double im) {
	return (atan2(im, re) / log(10.0));
}
double code(double re, double im) {
	return (1.0 / ((cbrt((log(10.0) / atan2(im, re))) * (cbrt((sqrt(log(10.0)) / 1.0)) * cbrt((sqrt(log(10.0)) / atan2(im, re))))) * cbrt((log(10.0) / atan2(im, re)))));
}

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

    \[\frac{\tan^{-1}_* \frac{im}{re}}{\log 10}\]
  2. Using strategy rm
  3. Applied clear-num1.0

    \[\leadsto \color{blue}{\frac{1}{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}}}\]
  4. Using strategy rm
  5. Applied add-cube-cbrt0.8

    \[\leadsto \frac{1}{\color{blue}{\left(\sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}} \cdot \sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}}\right) \cdot \sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}}}}\]
  6. Using strategy rm
  7. Applied *-un-lft-identity0.8

    \[\leadsto \frac{1}{\left(\sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}} \cdot \sqrt[3]{\frac{\log 10}{\color{blue}{1 \cdot \tan^{-1}_* \frac{im}{re}}}}\right) \cdot \sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}}}\]
  8. Applied add-sqr-sqrt0.8

    \[\leadsto \frac{1}{\left(\sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}} \cdot \sqrt[3]{\frac{\color{blue}{\sqrt{\log 10} \cdot \sqrt{\log 10}}}{1 \cdot \tan^{-1}_* \frac{im}{re}}}\right) \cdot \sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}}}\]
  9. Applied times-frac0.8

    \[\leadsto \frac{1}{\left(\sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}} \cdot \sqrt[3]{\color{blue}{\frac{\sqrt{\log 10}}{1} \cdot \frac{\sqrt{\log 10}}{\tan^{-1}_* \frac{im}{re}}}}\right) \cdot \sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}}}\]
  10. Applied cbrt-prod0.8

    \[\leadsto \frac{1}{\left(\sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}} \cdot \color{blue}{\left(\sqrt[3]{\frac{\sqrt{\log 10}}{1}} \cdot \sqrt[3]{\frac{\sqrt{\log 10}}{\tan^{-1}_* \frac{im}{re}}}\right)}\right) \cdot \sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}}}\]
  11. Final simplification0.8

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

Reproduce

herbie shell --seed 2020075 
(FPCore (re im)
  :name "math.log10 on complex, imaginary part"
  :precision binary64
  (/ (atan2 im re) (log 10)))