Average Error: 0.1 → 0.1
Time: 5.0s
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 r158587 = x;
        double r158588 = y;
        double r158589 = sin(r158588);
        double r158590 = r158589 / r158588;
        double r158591 = r158587 * r158590;
        return r158591;
}

double f(double x, double y) {
        double r158592 = x;
        double r158593 = y;
        double r158594 = sin(r158593);
        double r158595 = r158594 / r158593;
        double r158596 = r158592 * r158595;
        return r158596;
}

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