Average Error: 0.1 → 0.1
Time: 13.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 r333608 = x;
        double r333609 = cosh(r333608);
        double r333610 = y;
        double r333611 = sin(r333610);
        double r333612 = r333611 / r333610;
        double r333613 = r333609 * r333612;
        return r333613;
}

double f(double x, double y) {
        double r333614 = x;
        double r333615 = cosh(r333614);
        double r333616 = y;
        double r333617 = sin(r333616);
        double r333618 = r333617 / r333616;
        double r333619 = r333615 * r333618;
        return r333619;
}

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