Average Error: 0.1 → 0.1
Time: 2.7s
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 r150652 = x;
        double r150653 = y;
        double r150654 = sin(r150653);
        double r150655 = r150654 / r150653;
        double r150656 = r150652 * r150655;
        return r150656;
}

double f(double x, double y) {
        double r150657 = x;
        double r150658 = y;
        double r150659 = sin(r150658);
        double r150660 = r150659 / r150658;
        double r150661 = r150657 * r150660;
        return r150661;
}

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