Average Error: 0.1 → 0.1
Time: 9.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 r111825 = x;
        double r111826 = y;
        double r111827 = sin(r111826);
        double r111828 = r111827 / r111826;
        double r111829 = r111825 * r111828;
        return r111829;
}

double f(double x, double y) {
        double r111830 = x;
        double r111831 = y;
        double r111832 = sin(r111831);
        double r111833 = r111832 / r111831;
        double r111834 = r111830 * r111833;
        return r111834;
}

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