Average Error: 0.2 → 0.2
Time: 17.8s
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 r317889 = x;
        double r317890 = cosh(r317889);
        double r317891 = y;
        double r317892 = sin(r317891);
        double r317893 = r317892 / r317891;
        double r317894 = r317890 * r317893;
        return r317894;
}

double f(double x, double y) {
        double r317895 = x;
        double r317896 = cosh(r317895);
        double r317897 = y;
        double r317898 = sin(r317897);
        double r317899 = r317898 / r317897;
        double r317900 = r317896 * r317899;
        return r317900;
}

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