Average Error: 0.1 → 0.1
Time: 4.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 r101242 = x;
        double r101243 = y;
        double r101244 = sin(r101243);
        double r101245 = r101244 / r101243;
        double r101246 = r101242 * r101245;
        return r101246;
}

double f(double x, double y) {
        double r101247 = x;
        double r101248 = y;
        double r101249 = sin(r101248);
        double r101250 = r101249 / r101248;
        double r101251 = r101247 * r101250;
        return r101251;
}

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