Average Error: 0.1 → 0.1
Time: 43.1s
Precision: 64
\[x \cdot \frac{\sin y}{y}\]
\[\frac{\sin y}{y} \cdot x\]
x \cdot \frac{\sin y}{y}
\frac{\sin y}{y} \cdot x
double f(double x, double y) {
        double r6932878 = x;
        double r6932879 = y;
        double r6932880 = sin(r6932879);
        double r6932881 = r6932880 / r6932879;
        double r6932882 = r6932878 * r6932881;
        return r6932882;
}

double f(double x, double y) {
        double r6932883 = y;
        double r6932884 = sin(r6932883);
        double r6932885 = r6932884 / r6932883;
        double r6932886 = x;
        double r6932887 = r6932885 * r6932886;
        return r6932887;
}

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 \frac{\sin y}{y} \cdot x\]

Reproduce

herbie shell --seed 2019165 
(FPCore (x y)
  :name "Linear.Quaternion:$cexp from linear-1.19.1.3"
  (* x (/ (sin y) y)))