Average Error: 0.1 → 0.1
Time: 10.5s
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 r180025 = x;
        double r180026 = y;
        double r180027 = sin(r180026);
        double r180028 = r180027 / r180026;
        double r180029 = r180025 * r180028;
        return r180029;
}

double f(double x, double y) {
        double r180030 = x;
        double r180031 = y;
        double r180032 = sin(r180031);
        double r180033 = r180032 / r180031;
        double r180034 = r180030 * r180033;
        return r180034;
}

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