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 r164040 = x;
        double r164041 = y;
        double r164042 = sin(r164041);
        double r164043 = r164042 / r164041;
        double r164044 = r164040 * r164043;
        return r164044;
}

double f(double x, double y) {
        double r164045 = x;
        double r164046 = y;
        double r164047 = sin(r164046);
        double r164048 = r164047 / r164046;
        double r164049 = r164045 * r164048;
        return r164049;
}

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