Average Error: 0.1 → 0.1
Time: 12.9s
Precision: 64
\[x \cdot \frac{\sin y}{y}\]
\[\frac{\sin y}{y} \cdot x\]
x \cdot \frac{\sin y}{y}
\frac{\sin y}{y} \cdot x
double f(double x, double y) {
        double r143393 = x;
        double r143394 = y;
        double r143395 = sin(r143394);
        double r143396 = r143395 / r143394;
        double r143397 = r143393 * r143396;
        return r143397;
}

double f(double x, double y) {
        double r143398 = y;
        double r143399 = sin(r143398);
        double r143400 = r143399 / r143398;
        double r143401 = x;
        double r143402 = r143400 * r143401;
        return r143402;
}

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.1

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

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

Reproduce

herbie shell --seed 2019179 
(FPCore (x y)
  :name "Linear.Quaternion:$cexp from linear-1.19.1.3"
  (* x (/ (sin y) y)))