Average Error: 0.1 → 0.1
Time: 14.9s
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 r647716 = x;
        double r647717 = cosh(r647716);
        double r647718 = y;
        double r647719 = sin(r647718);
        double r647720 = r647719 / r647718;
        double r647721 = r647717 * r647720;
        return r647721;
}

double f(double x, double y) {
        double r647722 = x;
        double r647723 = cosh(r647722);
        double r647724 = y;
        double r647725 = sin(r647724);
        double r647726 = r647725 / r647724;
        double r647727 = r647723 * r647726;
        return r647727;
}

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