Average Error: 0.1 → 0.1
Time: 17.0s
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 r103682 = x;
        double r103683 = y;
        double r103684 = sin(r103683);
        double r103685 = r103684 / r103683;
        double r103686 = r103682 * r103685;
        return r103686;
}

double f(double x, double y) {
        double r103687 = x;
        double r103688 = y;
        double r103689 = sin(r103688);
        double r103690 = r103689 / r103688;
        double r103691 = r103687 * r103690;
        return r103691;
}

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