Average Error: 0 → 0
Time: 629.0ms
Precision: 64
\[\frac{1}{x}\]
\[\frac{1}{x}\]
\frac{1}{x}
\frac{1}{x}
double f(double x) {
        double r1490548 = 1.0;
        double r1490549 = x;
        double r1490550 = r1490548 / r1490549;
        return r1490550;
}

double f(double x) {
        double r1490551 = 1.0;
        double r1490552 = x;
        double r1490553 = r1490551 / r1490552;
        return r1490553;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0

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

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

Reproduce

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