Average Error: 0.2 → 0.2
Time: 28.3s
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 r487924 = x;
        double r487925 = cosh(r487924);
        double r487926 = y;
        double r487927 = sin(r487926);
        double r487928 = r487927 / r487926;
        double r487929 = r487925 * r487928;
        return r487929;
}

double f(double x, double y) {
        double r487930 = x;
        double r487931 = cosh(r487930);
        double r487932 = y;
        double r487933 = sin(r487932);
        double r487934 = r487933 / r487932;
        double r487935 = r487931 * r487934;
        return r487935;
}

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