Average Error: 0.1 → 0.1
Time: 9.9s
Precision: 64
\[x \cdot \frac{\sin y}{y}\]
\[x \cdot \frac{\sin y}{y}\]
x \cdot \frac{\sin y}{y}
x \cdot \frac{\sin y}{y}
double f(double x, double y) {
        double r185536 = x;
        double r185537 = y;
        double r185538 = sin(r185537);
        double r185539 = r185538 / r185537;
        double r185540 = r185536 * r185539;
        return r185540;
}

double f(double x, double y) {
        double r185541 = x;
        double r185542 = y;
        double r185543 = sin(r185542);
        double r185544 = r185543 / r185542;
        double r185545 = r185541 * r185544;
        return r185545;
}

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 x \cdot \frac{\sin y}{y}\]

Reproduce

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