Average Error: 0.1 → 0.1
Time: 3.5s
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 r204307 = x;
        double r204308 = y;
        double r204309 = sin(r204308);
        double r204310 = r204309 / r204308;
        double r204311 = r204307 * r204310;
        return r204311;
}

double f(double x, double y) {
        double r204312 = x;
        double r204313 = y;
        double r204314 = sin(r204313);
        double r204315 = r204314 / r204313;
        double r204316 = r204312 * r204315;
        return r204316;
}

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