Average Error: 0.1 → 0.1
Time: 3.5s
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 r156670 = x;
        double r156671 = y;
        double r156672 = sin(r156671);
        double r156673 = r156672 / r156671;
        double r156674 = r156670 * r156673;
        return r156674;
}

double f(double x, double y) {
        double r156675 = x;
        double r156676 = y;
        double r156677 = sin(r156676);
        double r156678 = r156677 / r156676;
        double r156679 = r156675 * r156678;
        return r156679;
}

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 2020049 
(FPCore (x y)
  :name "Linear.Quaternion:$cexp from linear-1.19.1.3"
  :precision binary64
  (* x (/ (sin y) y)))