Average Error: 0.1 → 0.1
Time: 3.3s
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 r151674 = x;
        double r151675 = y;
        double r151676 = sin(r151675);
        double r151677 = r151676 / r151675;
        double r151678 = r151674 * r151677;
        return r151678;
}

double f(double x, double y) {
        double r151679 = x;
        double r151680 = y;
        double r151681 = sin(r151680);
        double r151682 = r151681 / r151680;
        double r151683 = r151679 * r151682;
        return r151683;
}

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