Average Error: 0.1 → 0.1
Time: 4.7s
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 r141270 = x;
        double r141271 = y;
        double r141272 = sin(r141271);
        double r141273 = r141272 / r141271;
        double r141274 = r141270 * r141273;
        return r141274;
}

double f(double x, double y) {
        double r141275 = x;
        double r141276 = y;
        double r141277 = sin(r141276);
        double r141278 = r141277 / r141276;
        double r141279 = r141275 * r141278;
        return r141279;
}

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