Average Error: 0.2 → 0.2
Time: 28.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 r341549 = x;
        double r341550 = cosh(r341549);
        double r341551 = y;
        double r341552 = sin(r341551);
        double r341553 = r341552 / r341551;
        double r341554 = r341550 * r341553;
        return r341554;
}

double f(double x, double y) {
        double r341555 = x;
        double r341556 = cosh(r341555);
        double r341557 = y;
        double r341558 = sin(r341557);
        double r341559 = r341558 / r341557;
        double r341560 = r341556 * r341559;
        return r341560;
}

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.2
Target0.1
Herbie0.2
\[\frac{\cosh x \cdot \sin y}{y}\]

Derivation

  1. Initial program 0.2

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

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

Reproduce

herbie shell --seed 2019325 
(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)))