Average Error: 0.1 → 0.1
Time: 6.4s
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 r547529 = x;
        double r547530 = cosh(r547529);
        double r547531 = y;
        double r547532 = sin(r547531);
        double r547533 = r547532 / r547531;
        double r547534 = r547530 * r547533;
        return r547534;
}

double f(double x, double y) {
        double r547535 = x;
        double r547536 = cosh(r547535);
        double r547537 = y;
        double r547538 = sin(r547537);
        double r547539 = r547538 / r547537;
        double r547540 = r547536 * r547539;
        return r547540;
}

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