Average Error: 0.1 → 0.1
Time: 3.4s
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 r140737 = x;
        double r140738 = y;
        double r140739 = sin(r140738);
        double r140740 = r140739 / r140738;
        double r140741 = r140737 * r140740;
        return r140741;
}

double f(double x, double y) {
        double r140742 = x;
        double r140743 = y;
        double r140744 = sin(r140743);
        double r140745 = r140744 / r140743;
        double r140746 = r140742 * r140745;
        return r140746;
}

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