Average Error: 0.2 → 0.0
Time: 11.8s
Precision: 64
Internal Precision: 576
\[\frac{1}{x} - \frac{1}{\sqrt{x}}\]
\[\frac{1}{x} - {x}^{\left(-\frac{1}{2}\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.2

    \[\frac{1}{x} - \frac{1}{\sqrt{x}}\]
  2. Using strategy rm
  3. Applied pow1/20.2

    \[\leadsto \frac{1}{x} - \frac{1}{\color{blue}{{x}^{\frac{1}{2}}}}\]
  4. Applied pow-flip0.0

    \[\leadsto \frac{1}{x} - \color{blue}{{x}^{\left(-\frac{1}{2}\right)}}\]

Runtime

Time bar (total: 11.8s)Debug log

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