Average Error: 0.1 → 0.1
Time: 3.8s
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 r217097 = x;
        double r217098 = y;
        double r217099 = sin(r217098);
        double r217100 = r217099 / r217098;
        double r217101 = r217097 * r217100;
        return r217101;
}

double f(double x, double y) {
        double r217102 = x;
        double r217103 = y;
        double r217104 = sin(r217103);
        double r217105 = r217104 / r217103;
        double r217106 = r217102 * r217105;
        return r217106;
}

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