Average Error: 0.1 → 0.1
Time: 21.1s
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 r742700 = x;
        double r742701 = cosh(r742700);
        double r742702 = y;
        double r742703 = sin(r742702);
        double r742704 = r742703 / r742702;
        double r742705 = r742701 * r742704;
        return r742705;
}

double f(double x, double y) {
        double r742706 = x;
        double r742707 = cosh(r742706);
        double r742708 = y;
        double r742709 = sin(r742708);
        double r742710 = r742709 / r742708;
        double r742711 = r742707 * r742710;
        return r742711;
}

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