Average Error: 0.2 → 0.2
Time: 22.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 r21660570 = x;
        double r21660571 = cosh(r21660570);
        double r21660572 = y;
        double r21660573 = sin(r21660572);
        double r21660574 = r21660573 / r21660572;
        double r21660575 = r21660571 * r21660574;
        return r21660575;
}

double f(double x, double y) {
        double r21660576 = x;
        double r21660577 = cosh(r21660576);
        double r21660578 = y;
        double r21660579 = sin(r21660578);
        double r21660580 = r21660579 / r21660578;
        double r21660581 = r21660577 * r21660580;
        return r21660581;
}

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 2019163 
(FPCore (x y)
  :name "Linear.Quaternion:$csinh from linear-1.19.1.3"

  :herbie-target
  (/ (* (cosh x) (sin y)) y)

  (* (cosh x) (/ (sin y) y)))