Average Error: 0.3 → 0.4
Time: 10.9s
Precision: 64
Internal Precision: 320
\[\frac{\sqrt{x - 1}}{x}\]
\[\frac{1}{\frac{x}{\sqrt{x - 1}}}\]

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.3

    \[\frac{\sqrt{x - 1}}{x}\]
  2. Initial simplification0.3

    \[\leadsto \frac{\sqrt{x - 1}}{x}\]
  3. Using strategy rm
  4. Applied clear-num0.4

    \[\leadsto \color{blue}{\frac{1}{\frac{x}{\sqrt{x - 1}}}}\]
  5. Final simplification0.4

    \[\leadsto \frac{1}{\frac{x}{\sqrt{x - 1}}}\]

Runtime

Time bar (total: 10.9s)Debug log

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