Average Error: 0.1 → 0.1
Time: 6.3s
Precision: 64
\[\sqrt{\frac{1}{x}}\]
\[\sqrt{\frac{1}{x}}\]
\sqrt{\frac{1}{x}}
\sqrt{\frac{1}{x}}
double f(double x) {
        double r1760008 = 1.0;
        double r1760009 = x;
        double r1760010 = r1760008 / r1760009;
        double r1760011 = sqrt(r1760010);
        return r1760011;
}

double f(double x) {
        double r1760012 = 1.0;
        double r1760013 = x;
        double r1760014 = r1760012 / r1760013;
        double r1760015 = sqrt(r1760014);
        return r1760015;
}

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)))