Average Error: 0.1 → 0.1
Time: 4.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 r157566 = x;
        double r157567 = y;
        double r157568 = sin(r157567);
        double r157569 = r157568 / r157567;
        double r157570 = r157566 * r157569;
        return r157570;
}

double f(double x, double y) {
        double r157571 = x;
        double r157572 = y;
        double r157573 = sin(r157572);
        double r157574 = r157573 / r157572;
        double r157575 = r157571 * r157574;
        return r157575;
}

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