Average Error: 0.0 → 0.0
Time: 2.9m
Precision: 64
Internal Precision: 576
\[-\log \left(\frac{1}{x} - 1\right)\]
\[-\left(\log \left(\sqrt{\frac{1}{x} - 1}\right) + \log \left(\sqrt{\frac{1}{x} - 1}\right)\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 add-sqr-sqrt0.0

    \[\leadsto -\log \color{blue}{\left(\sqrt{\frac{1}{x} - 1} \cdot \sqrt{\frac{1}{x} - 1}\right)}\]
  4. Applied log-prod0.0

    \[\leadsto -\color{blue}{\left(\log \left(\sqrt{\frac{1}{x} - 1}\right) + \log \left(\sqrt{\frac{1}{x} - 1}\right)\right)}\]

Runtime

Time bar (total: 2.9m)Debug logProfile

herbie shell --seed '#(1071948828 1180510430 2986424009 997076509 406109801 420189285)' 
(FPCore (x)
  :name "neg log"
  (- (log (- (/ 1 x) 1))))