Average Error: 0.2 → 0.2
Time: 27.9s
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 r344186 = x;
        double r344187 = cosh(r344186);
        double r344188 = y;
        double r344189 = sin(r344188);
        double r344190 = r344189 / r344188;
        double r344191 = r344187 * r344190;
        return r344191;
}

double f(double x, double y) {
        double r344192 = x;
        double r344193 = cosh(r344192);
        double r344194 = y;
        double r344195 = sin(r344194);
        double r344196 = r344195 / r344194;
        double r344197 = r344193 * r344196;
        return r344197;
}

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.1
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 2019325 
(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)))