Average Error: 0.1 → 0.1
Time: 31.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 r335417 = x;
        double r335418 = cosh(r335417);
        double r335419 = y;
        double r335420 = sin(r335419);
        double r335421 = r335420 / r335419;
        double r335422 = r335418 * r335421;
        return r335422;
}

double f(double x, double y) {
        double r335423 = x;
        double r335424 = cosh(r335423);
        double r335425 = y;
        double r335426 = sin(r335425);
        double r335427 = r335426 / r335425;
        double r335428 = r335424 * r335427;
        return r335428;
}

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