Average Error: 0.1 → 0.1
Time: 17.1s
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 r114035 = x;
        double r114036 = y;
        double r114037 = sin(r114036);
        double r114038 = r114037 / r114036;
        double r114039 = r114035 * r114038;
        return r114039;
}

double f(double x, double y) {
        double r114040 = x;
        double r114041 = y;
        double r114042 = sin(r114041);
        double r114043 = r114042 / r114041;
        double r114044 = r114040 * r114043;
        return r114044;
}

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