Average Error: 0.1 → 0.1
Time: 16.4s
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 r113457 = x;
        double r113458 = y;
        double r113459 = sin(r113458);
        double r113460 = r113459 / r113458;
        double r113461 = r113457 * r113460;
        return r113461;
}

double f(double x, double y) {
        double r113462 = x;
        double r113463 = y;
        double r113464 = sin(r113463);
        double r113465 = r113464 / r113463;
        double r113466 = r113462 * r113465;
        return r113466;
}

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