Average Error: 0.1 → 0.1
Time: 5.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 r550952 = x;
        double r550953 = cosh(r550952);
        double r550954 = y;
        double r550955 = sin(r550954);
        double r550956 = r550955 / r550954;
        double r550957 = r550953 * r550956;
        return r550957;
}

double f(double x, double y) {
        double r550958 = x;
        double r550959 = cosh(r550958);
        double r550960 = y;
        double r550961 = sin(r550960);
        double r550962 = r550961 / r550960;
        double r550963 = r550959 * r550962;
        return r550963;
}

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