Average Error: 0.1 → 0.1
Time: 8.2s
Precision: 64
\[\frac{\sin x}{x}\]
\[\frac{\sin x}{x}\]
\frac{\sin x}{x}
\frac{\sin x}{x}
double f(double x) {
        double r16435 = x;
        double r16436 = sin(r16435);
        double r16437 = r16436 / r16435;
        return r16437;
}

double f(double x) {
        double r16438 = x;
        double r16439 = sin(r16438);
        double r16440 = r16439 / r16438;
        return r16440;
}

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