Average Error: 0.2 → 0.2
Time: 27.1s
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 r299842 = x;
        double r299843 = cosh(r299842);
        double r299844 = y;
        double r299845 = sin(r299844);
        double r299846 = r299845 / r299844;
        double r299847 = r299843 * r299846;
        return r299847;
}

double f(double x, double y) {
        double r299848 = x;
        double r299849 = cosh(r299848);
        double r299850 = y;
        double r299851 = sin(r299850);
        double r299852 = r299851 / r299850;
        double r299853 = r299849 * r299852;
        return r299853;
}

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