Average Error: 0.1 → 0.1
Time: 5.5s
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 r582509 = x;
        double r582510 = cosh(r582509);
        double r582511 = y;
        double r582512 = sin(r582511);
        double r582513 = r582512 / r582511;
        double r582514 = r582510 * r582513;
        return r582514;
}

double f(double x, double y) {
        double r582515 = x;
        double r582516 = cosh(r582515);
        double r582517 = y;
        double r582518 = sin(r582517);
        double r582519 = r582518 / r582517;
        double r582520 = r582516 * r582519;
        return r582520;
}

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 2020018 +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)))