Average Error: 0.1 → 0.1
Time: 3.4s
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 r142123 = x;
        double r142124 = y;
        double r142125 = sin(r142124);
        double r142126 = r142125 / r142124;
        double r142127 = r142123 * r142126;
        return r142127;
}

double f(double x, double y) {
        double r142128 = x;
        double r142129 = y;
        double r142130 = sin(r142129);
        double r142131 = r142130 / r142129;
        double r142132 = r142128 * r142131;
        return r142132;
}

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