Average Error: 0.1 → 0.1
Time: 3.2s
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 r142426 = x;
        double r142427 = y;
        double r142428 = sin(r142427);
        double r142429 = r142428 / r142427;
        double r142430 = r142426 * r142429;
        return r142430;
}

double f(double x, double y) {
        double r142431 = x;
        double r142432 = y;
        double r142433 = sin(r142432);
        double r142434 = r142433 / r142432;
        double r142435 = r142431 * r142434;
        return r142435;
}

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