Average Error: 0.8 → 0.7
Time: 37.1s
Precision: 64
Internal Precision: 576
\[\frac{\tan^{-1}_* \frac{im}{re}}{\log 10}\]
\[\log_* (1 + (e^{\frac{\tan^{-1}_* \frac{im}{re}}{\log 10}} - 1)^*)\]

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 log1p-expm1-u0.7

    \[\leadsto \color{blue}{\log_* (1 + (e^{\frac{\tan^{-1}_* \frac{im}{re}}{\log 10}} - 1)^*)}\]

Runtime

Time bar (total: 37.1s)Debug logProfile

herbie shell --seed '#(1071246582 2318319007 2683472949 3810440501 3233274817 2724848749)' +o rules:numerics
(FPCore (re im)
  :name "math.log10 on complex, imaginary part"
  (/ (atan2 im re) (log 10)))