Average Error: 0.2 → 0.2
Time: 16.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 r496921 = x;
        double r496922 = cosh(r496921);
        double r496923 = y;
        double r496924 = sin(r496923);
        double r496925 = r496924 / r496923;
        double r496926 = r496922 * r496925;
        return r496926;
}

double f(double x, double y) {
        double r496927 = x;
        double r496928 = cosh(r496927);
        double r496929 = y;
        double r496930 = sin(r496929);
        double r496931 = r496930 / r496929;
        double r496932 = r496928 * r496931;
        return r496932;
}

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 2019179 
(FPCore (x y)
  :name "Linear.Quaternion:$csinh from linear-1.19.1.3"

  :herbie-target
  (/ (* (cosh x) (sin y)) y)

  (* (cosh x) (/ (sin y) y)))