Average Error: 0.1 → 0.1
Time: 5.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 r639596 = x;
        double r639597 = cosh(r639596);
        double r639598 = y;
        double r639599 = sin(r639598);
        double r639600 = r639599 / r639598;
        double r639601 = r639597 * r639600;
        return r639601;
}

double f(double x, double y) {
        double r639602 = x;
        double r639603 = cosh(r639602);
        double r639604 = y;
        double r639605 = sin(r639604);
        double r639606 = r639605 / r639604;
        double r639607 = r639603 * r639606;
        return r639607;
}

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