Average Error: 0.1 → 0.1
Time: 7.8s
Precision: 64
\[\frac{\sin x}{x}\]
\[\frac{\sin x}{x}\]
\frac{\sin x}{x}
\frac{\sin x}{x}
double f(double x) {
        double r286184 = x;
        double r286185 = sin(r286184);
        double r286186 = r286185 / r286184;
        return r286186;
}

double f(double x) {
        double r286187 = x;
        double r286188 = sin(r286187);
        double r286189 = r286188 / r286187;
        return r286189;
}

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