Average Error: 0.1 → 0.1
Time: 29.9s
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 r485807 = x;
        double r485808 = cosh(r485807);
        double r485809 = y;
        double r485810 = sin(r485809);
        double r485811 = r485810 / r485809;
        double r485812 = r485808 * r485811;
        return r485812;
}

double f(double x, double y) {
        double r485813 = x;
        double r485814 = cosh(r485813);
        double r485815 = y;
        double r485816 = sin(r485815);
        double r485817 = r485816 / r485815;
        double r485818 = r485814 * r485817;
        return r485818;
}

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