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 r140693 = x;
        double r140694 = y;
        double r140695 = sin(r140694);
        double r140696 = r140695 / r140694;
        double r140697 = r140693 * r140696;
        return r140697;
}

double f(double x, double y) {
        double r140698 = x;
        double r140699 = y;
        double r140700 = sin(r140699);
        double r140701 = r140700 / r140699;
        double r140702 = r140698 * r140701;
        return r140702;
}

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