Average Error: 0.2 → 0.2
Time: 7.6s
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 r479508 = x;
        double r479509 = cosh(r479508);
        double r479510 = y;
        double r479511 = sin(r479510);
        double r479512 = r479511 / r479510;
        double r479513 = r479509 * r479512;
        return r479513;
}

double f(double x, double y) {
        double r479514 = x;
        double r479515 = cosh(r479514);
        double r479516 = y;
        double r479517 = sin(r479516);
        double r479518 = r479517 / r479516;
        double r479519 = r479515 * r479518;
        return r479519;
}

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.2
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 2019322 
(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)))