Average Error: 0.1 → 0.1
Time: 9.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 r130191 = x;
        double r130192 = y;
        double r130193 = sin(r130192);
        double r130194 = r130193 / r130192;
        double r130195 = r130191 * r130194;
        return r130195;
}

double f(double x, double y) {
        double r130196 = x;
        double r130197 = y;
        double r130198 = sin(r130197);
        double r130199 = r130198 / r130197;
        double r130200 = r130196 * r130199;
        return r130200;
}

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