Average Error: 0.1 → 0.1
Time: 4.9s
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 r210167 = x;
        double r210168 = y;
        double r210169 = sin(r210168);
        double r210170 = r210169 / r210168;
        double r210171 = r210167 * r210170;
        return r210171;
}

double f(double x, double y) {
        double r210172 = x;
        double r210173 = y;
        double r210174 = sin(r210173);
        double r210175 = r210174 / r210173;
        double r210176 = r210172 * r210175;
        return r210176;
}

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