Average Error: 0.1 → 0.1
Time: 7.7s
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 r522782 = x;
        double r522783 = cosh(r522782);
        double r522784 = y;
        double r522785 = sin(r522784);
        double r522786 = r522785 / r522784;
        double r522787 = r522783 * r522786;
        return r522787;
}

double f(double x, double y) {
        double r522788 = x;
        double r522789 = cosh(r522788);
        double r522790 = y;
        double r522791 = sin(r522790);
        double r522792 = r522791 / r522790;
        double r522793 = r522789 * r522792;
        return r522793;
}

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