Average Error: 0.1 → 0.1
Time: 5.9s
Precision: 64
\[\cosh x \cdot \frac{\sin y}{y}\]
\[\cosh x \cdot \frac{\sin y}{y}\]
\cosh x \cdot \frac{\sin y}{y}
\cosh x \cdot \frac{\sin y}{y}
double f(double x, double y) {
        double r481397 = x;
        double r481398 = cosh(r481397);
        double r481399 = y;
        double r481400 = sin(r481399);
        double r481401 = r481400 / r481399;
        double r481402 = r481398 * r481401;
        return r481402;
}

double f(double x, double y) {
        double r481403 = x;
        double r481404 = cosh(r481403);
        double r481405 = y;
        double r481406 = sin(r481405);
        double r481407 = r481406 / r481405;
        double r481408 = r481404 * r481407;
        return r481408;
}

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Target

Original0.1
Target0.1
Herbie0.1
\[\frac{\cosh x \cdot \sin y}{y}\]

Derivation

  1. Initial program 0.1

    \[\cosh x \cdot \frac{\sin y}{y}\]
  2. Final simplification0.1

    \[\leadsto \cosh x \cdot \frac{\sin y}{y}\]

Reproduce

herbie shell --seed 2020056 
(FPCore (x y)
  :name "Linear.Quaternion:$csinh from linear-1.19.1.3"
  :precision binary64

  :herbie-target
  (/ (* (cosh x) (sin y)) y)

  (* (cosh x) (/ (sin y) y)))