Average Error: 0.1 → 0.1
Time: 9.2s
Precision: 64
\[\frac{\sin x}{x}\]
\[\frac{\sin x}{x}\]
\frac{\sin x}{x}
\frac{\sin x}{x}
double f(double x) {
        double r54156259 = x;
        double r54156260 = sin(r54156259);
        double r54156261 = r54156260 / r54156259;
        return r54156261;
}

double f(double x) {
        double r54156262 = x;
        double r54156263 = sin(r54156262);
        double r54156264 = r54156263 / r54156262;
        return r54156264;
}

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"
  (/ (sin x) x))