Average Error: 63.6 → 63.6
Time: 3.2s
Precision: 64
Internal Precision: 128
\[-\log \left(\frac{1}{x} - 1\right)\]
\[-\log \left(\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 63.6

    \[-\log \left(\frac{1}{x} - 1\right)\]
  2. Final simplification63.6

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

Runtime

Time bar (total: 3.2s)Debug logProfile

herbie shell --seed 2018255 +o rules:numerics
(FPCore (x)
  :name "neg log"
  (- (log (- (/ 1 x) 1))))