Average Error: 0.0 → 0.0
Time: 23.8s
Precision: 64
Internal Precision: 384
\[-\log \left(\frac{1}{x} - 1\right)\]
\[-\log \left((e^{\log_* (1 + \left(\frac{1}{x} - 1\right))} - 1)^*\right)\]

Error

Bits error versus x

Derivation

  1. Initial program 0.0

    \[-\log \left(\frac{1}{x} - 1\right)\]
  2. Using strategy rm
  3. Applied expm1-log1p-u0.0

    \[\leadsto -\log \color{blue}{\left((e^{\log_* (1 + \left(\frac{1}{x} - 1\right))} - 1)^*\right)}\]

Runtime

Time bar (total: 23.8s)Debug logProfile

herbie shell --seed '#(1070991898 1055468627 4280279443 640792587 928206309 3646738750)' +o rules:numerics
(FPCore (x)
  :name "neg log"
  (- (log (- (/ 1 x) 1))))