Average Error: 0.1 → 0.1
Time: 23.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 r148891 = x;
        double r148892 = y;
        double r148893 = sin(r148892);
        double r148894 = r148893 / r148892;
        double r148895 = r148891 * r148894;
        return r148895;
}

double f(double x, double y) {
        double r148896 = x;
        double r148897 = y;
        double r148898 = sin(r148897);
        double r148899 = r148898 / r148897;
        double r148900 = r148896 * r148899;
        return r148900;
}

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