Average Error: 0.1 → 0.1
Time: 10.3s
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 r83781 = x;
        double r83782 = y;
        double r83783 = sin(r83782);
        double r83784 = r83783 / r83782;
        double r83785 = r83781 * r83784;
        return r83785;
}

double f(double x, double y) {
        double r83786 = x;
        double r83787 = y;
        double r83788 = sin(r83787);
        double r83789 = r83788 / r83787;
        double r83790 = r83786 * r83789;
        return r83790;
}

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