Average Error: 0.2 → 0.2
Time: 7.8s
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 r517365 = x;
        double r517366 = cosh(r517365);
        double r517367 = y;
        double r517368 = sin(r517367);
        double r517369 = r517368 / r517367;
        double r517370 = r517366 * r517369;
        return r517370;
}

double f(double x, double y) {
        double r517371 = x;
        double r517372 = cosh(r517371);
        double r517373 = y;
        double r517374 = sin(r517373);
        double r517375 = r517374 / r517373;
        double r517376 = r517372 * r517375;
        return r517376;
}

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