Average Error: 0.1 → 0.1
Time: 5.5s
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 r591529 = x;
        double r591530 = cosh(r591529);
        double r591531 = y;
        double r591532 = sin(r591531);
        double r591533 = r591532 / r591531;
        double r591534 = r591530 * r591533;
        return r591534;
}

double f(double x, double y) {
        double r591535 = x;
        double r591536 = cosh(r591535);
        double r591537 = y;
        double r591538 = sin(r591537);
        double r591539 = r591538 / r591537;
        double r591540 = r591536 * r591539;
        return r591540;
}

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 2020001 
(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)))