Average Error: 0.1 → 0.1
Time: 13.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 r126392 = x;
        double r126393 = y;
        double r126394 = sin(r126393);
        double r126395 = r126394 / r126393;
        double r126396 = r126392 * r126395;
        return r126396;
}

double f(double x, double y) {
        double r126397 = x;
        double r126398 = y;
        double r126399 = sin(r126398);
        double r126400 = r126399 / r126398;
        double r126401 = r126397 * r126400;
        return r126401;
}

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