Average Error: 0.1 → 0.1
Time: 20.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 r531506 = x;
        double r531507 = cosh(r531506);
        double r531508 = y;
        double r531509 = sin(r531508);
        double r531510 = r531509 / r531508;
        double r531511 = r531507 * r531510;
        return r531511;
}

double f(double x, double y) {
        double r531512 = x;
        double r531513 = cosh(r531512);
        double r531514 = y;
        double r531515 = sin(r531514);
        double r531516 = r531515 / r531514;
        double r531517 = r531513 * r531516;
        return r531517;
}

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