Average Error: 0.1 → 0.1
Time: 18.6s
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 r106716 = x;
        double r106717 = y;
        double r106718 = sin(r106717);
        double r106719 = r106718 / r106717;
        double r106720 = r106716 * r106719;
        return r106720;
}

double f(double x, double y) {
        double r106721 = x;
        double r106722 = y;
        double r106723 = sin(r106722);
        double r106724 = r106723 / r106722;
        double r106725 = r106721 * r106724;
        return r106725;
}

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