Average Error: 0.2 → 0.2
Time: 16.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 r554258 = x;
        double r554259 = cosh(r554258);
        double r554260 = y;
        double r554261 = sin(r554260);
        double r554262 = r554261 / r554260;
        double r554263 = r554259 * r554262;
        return r554263;
}

double f(double x, double y) {
        double r554264 = x;
        double r554265 = cosh(r554264);
        double r554266 = y;
        double r554267 = sin(r554266);
        double r554268 = r554267 / r554266;
        double r554269 = r554265 * r554268;
        return r554269;
}

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