Average Error: 0.1 → 0.1
Time: 8.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 r636 = x;
        double r637 = y;
        double r638 = sin(r637);
        double r639 = r638 / r637;
        double r640 = r636 * r639;
        return r640;
}

double f(double x, double y) {
        double r641 = x;
        double r642 = y;
        double r643 = sin(r642);
        double r644 = r643 / r642;
        double r645 = r641 * r644;
        return r645;
}

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