Average Error: 0.1 → 0.1
Time: 46.2s
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 r7991931 = x;
        double r7991932 = y;
        double r7991933 = sin(r7991932);
        double r7991934 = r7991933 / r7991932;
        double r7991935 = r7991931 * r7991934;
        return r7991935;
}

double f(double x, double y) {
        double r7991936 = y;
        double r7991937 = sin(r7991936);
        double r7991938 = r7991937 / r7991936;
        double r7991939 = x;
        double r7991940 = r7991938 * r7991939;
        return r7991940;
}

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