Average Error: 0.1 → 0.1
Time: 6.4s
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 r569176 = x;
        double r569177 = cosh(r569176);
        double r569178 = y;
        double r569179 = sin(r569178);
        double r569180 = r569179 / r569178;
        double r569181 = r569177 * r569180;
        return r569181;
}

double f(double x, double y) {
        double r569182 = x;
        double r569183 = cosh(r569182);
        double r569184 = y;
        double r569185 = sin(r569184);
        double r569186 = r569185 / r569184;
        double r569187 = r569183 * r569186;
        return r569187;
}

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