Average Error: 0.1 → 0.1
Time: 6.4s
Precision: 64
\[\sqrt{\frac{1}{x}}\]
\[\sqrt{\frac{1}{x}}\]
\sqrt{\frac{1}{x}}
\sqrt{\frac{1}{x}}
double f(double x) {
        double r248477 = 1.0;
        double r248478 = x;
        double r248479 = r248477 / r248478;
        double r248480 = sqrt(r248479);
        return r248480;
}

double f(double x) {
        double r248481 = 1.0;
        double r248482 = x;
        double r248483 = r248481 / r248482;
        double r248484 = sqrt(r248483);
        return r248484;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.1

    \[\sqrt{\frac{1}{x}}\]
  2. Final simplification0.1

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

Reproduce

herbie shell --seed 1 
(FPCore (x)
  :name "sqrt(1/x)"
  :precision binary64
  (sqrt (/ 1 x)))