Average Error: 0.1 → 0.1
Time: 7.2s
Precision: 64
\[\frac{\sin x}{x}\]
\[\frac{\sin x}{x}\]
\frac{\sin x}{x}
\frac{\sin x}{x}
double f(double x) {
        double r675907 = x;
        double r675908 = sin(r675907);
        double r675909 = r675908 / r675907;
        return r675909;
}

double f(double x) {
        double r675910 = x;
        double r675911 = sin(r675910);
        double r675912 = r675911 / r675910;
        return r675912;
}

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

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

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

Reproduce

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