Average Error: 0.0 → 0.0
Time: 26.6s
Precision: 64
Internal Precision: 576
\[-\log \left(\frac{1}{x} - 1\right)\]
\[-\log \left(\sqrt{\frac{1}{x} - 1} \cdot \sqrt{\frac{1}{x} - 1}\right)\]

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

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. Final simplification0.0

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

Runtime

Time bar (total: 26.6s)Debug logProfile

herbie shell --seed 2018225 
(FPCore (x)
  :name "neg log"
  (- (log (- (/ 1 x) 1))))