Average Error: 0.2 → 0.2
Time: 27.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 r300393 = x;
        double r300394 = cosh(r300393);
        double r300395 = y;
        double r300396 = sin(r300395);
        double r300397 = r300396 / r300395;
        double r300398 = r300394 * r300397;
        return r300398;
}

double f(double x, double y) {
        double r300399 = x;
        double r300400 = cosh(r300399);
        double r300401 = y;
        double r300402 = sin(r300401);
        double r300403 = r300402 / r300401;
        double r300404 = r300400 * r300403;
        return r300404;
}

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.1
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 2019325 +o rules:numerics
(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)))