Average Error: 0.1 → 0.1
Time: 14.6s
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 r8146796 = x;
        double r8146797 = y;
        double r8146798 = sin(r8146797);
        double r8146799 = r8146798 / r8146797;
        double r8146800 = r8146796 * r8146799;
        return r8146800;
}

double f(double x, double y) {
        double r8146801 = y;
        double r8146802 = sin(r8146801);
        double r8146803 = r8146802 / r8146801;
        double r8146804 = x;
        double r8146805 = r8146803 * r8146804;
        return r8146805;
}

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