Average Error: 0.1 → 0.1
Time: 18.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 r8793814 = x;
        double r8793815 = cosh(r8793814);
        double r8793816 = y;
        double r8793817 = sin(r8793816);
        double r8793818 = r8793817 / r8793816;
        double r8793819 = r8793815 * r8793818;
        return r8793819;
}

double f(double x, double y) {
        double r8793820 = x;
        double r8793821 = cosh(r8793820);
        double r8793822 = y;
        double r8793823 = sin(r8793822);
        double r8793824 = r8793823 / r8793822;
        double r8793825 = r8793821 * r8793824;
        return r8793825;
}

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 2019171 
(FPCore (x y)
  :name "Linear.Quaternion:$csinh from linear-1.19.1.3"

  :herbie-target
  (/ (* (cosh x) (sin y)) y)

  (* (cosh x) (/ (sin y) y)))