Average Error: 0.1 → 0.1
Time: 4.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 r169054 = x;
        double r169055 = y;
        double r169056 = sin(r169055);
        double r169057 = r169056 / r169055;
        double r169058 = r169054 * r169057;
        return r169058;
}

double f(double x, double y) {
        double r169059 = x;
        double r169060 = y;
        double r169061 = sin(r169060);
        double r169062 = r169061 / r169060;
        double r169063 = r169059 * r169062;
        return r169063;
}

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