Average Error: 0.6 → 0.7
Time: 31.6s
Precision: 64
Internal Precision: 576
\[\frac{x - y}{\log x - \log y}\]
\[\left(x - y\right) \cdot \frac{1}{\log x - \log y}\]

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.6

    \[\frac{x - y}{\log x - \log y}\]
  2. Initial simplification0.6

    \[\leadsto \frac{x - y}{\log x - \log y}\]
  3. Using strategy rm
  4. Applied div-inv0.7

    \[\leadsto \color{blue}{\left(x - y\right) \cdot \frac{1}{\log x - \log y}}\]
  5. Final simplification0.7

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

Runtime

Time bar (total: 31.6s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (x y)
  :name "(x-y)/(log(x)-log(y))"
  (/ (- x y) (- (log x) (log y))))