Average Error: 0.1 → 0.1
Time: 17.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 r368172 = x;
        double r368173 = cosh(r368172);
        double r368174 = y;
        double r368175 = sin(r368174);
        double r368176 = r368175 / r368174;
        double r368177 = r368173 * r368176;
        return r368177;
}

double f(double x, double y) {
        double r368178 = x;
        double r368179 = cosh(r368178);
        double r368180 = y;
        double r368181 = sin(r368180);
        double r368182 = r368181 / r368180;
        double r368183 = r368179 * r368182;
        return r368183;
}

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