Average Error: 0.1 → 0.1
Time: 9.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 r170119 = x;
        double r170120 = y;
        double r170121 = sin(r170120);
        double r170122 = r170121 / r170120;
        double r170123 = r170119 * r170122;
        return r170123;
}

double f(double x, double y) {
        double r170124 = x;
        double r170125 = y;
        double r170126 = sin(r170125);
        double r170127 = r170126 / r170125;
        double r170128 = r170124 * r170127;
        return r170128;
}

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