Average Error: 0.8 → 0.1
Time: 1.1m
Precision: 64
Internal Precision: 384
\[\frac{\tan^{-1}_* \frac{im}{re}}{\log 10}\]
\[\left(\sqrt[3]{\sqrt{\frac{1}{\sqrt{\log 10}}}} \cdot \sqrt[3]{\sqrt{\frac{1}{\sqrt{\log 10}}}}\right) \cdot \left(\sqrt[3]{\sqrt{\frac{1}{\sqrt{\log 10}}}} \cdot \left(\sqrt{\frac{1}{\sqrt{\log 10}}} \cdot \frac{\tan^{-1}_* \frac{im}{re}}{\sqrt{\log 10}}\right)\right)\]

Error

Bits error versus re

Bits error versus im

Derivation

  1. Initial program 0.8

    \[\frac{\tan^{-1}_* \frac{im}{re}}{\log 10}\]
  2. Using strategy rm
  3. Applied add-sqr-sqrt0.8

    \[\leadsto \frac{\tan^{-1}_* \frac{im}{re}}{\color{blue}{\sqrt{\log 10} \cdot \sqrt{\log 10}}}\]
  4. Applied *-un-lft-identity0.8

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

    \[\leadsto \color{blue}{\frac{1}{\sqrt{\log 10}} \cdot \frac{\tan^{-1}_* \frac{im}{re}}{\sqrt{\log 10}}}\]
  6. Using strategy rm
  7. Applied add-sqr-sqrt0.8

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

    \[\leadsto \color{blue}{\sqrt{\frac{1}{\sqrt{\log 10}}} \cdot \left(\sqrt{\frac{1}{\sqrt{\log 10}}} \cdot \frac{\tan^{-1}_* \frac{im}{re}}{\sqrt{\log 10}}\right)}\]
  9. Using strategy rm
  10. Applied add-cube-cbrt0.1

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

    \[\leadsto \color{blue}{\left(\sqrt[3]{\sqrt{\frac{1}{\sqrt{\log 10}}}} \cdot \sqrt[3]{\sqrt{\frac{1}{\sqrt{\log 10}}}}\right) \cdot \left(\sqrt[3]{\sqrt{\frac{1}{\sqrt{\log 10}}}} \cdot \left(\sqrt{\frac{1}{\sqrt{\log 10}}} \cdot \frac{\tan^{-1}_* \frac{im}{re}}{\sqrt{\log 10}}\right)\right)}\]
  12. Removed slow pow expressions.

Runtime

Time bar (total: 1.1m)Debug logProfile

herbie shell --seed '#(1063185673 2139736501 2393378123 1907444849 1070993796 1007244912)' 
(FPCore (re im)
  :name "math.log10 on complex, imaginary part"
  (/ (atan2 im re) (log 10)))