Average Error: 0.1 → 0.1
Time: 11.2s
Precision: 64
\[\frac{\sin x}{x}\]
\[\frac{\sin x}{x}\]
\frac{\sin x}{x}
\frac{\sin x}{x}
double f(double x) {
        double r10977388 = x;
        double r10977389 = sin(r10977388);
        double r10977390 = r10977389 / r10977388;
        return r10977390;
}

double f(double x) {
        double r10977391 = x;
        double r10977392 = sin(r10977391);
        double r10977393 = r10977392 / r10977391;
        return r10977393;
}

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