Average Error: 0.1 → 0.1
Time: 2.9s
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 r193398 = x;
        double r193399 = y;
        double r193400 = sin(r193399);
        double r193401 = r193400 / r193399;
        double r193402 = r193398 * r193401;
        return r193402;
}

double f(double x, double y) {
        double r193403 = x;
        double r193404 = y;
        double r193405 = sin(r193404);
        double r193406 = r193405 / r193404;
        double r193407 = r193403 * r193406;
        return r193407;
}

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