Average Error: 0.2 → 0.2
Time: 20.2s
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 r25396032 = x;
        double r25396033 = cosh(r25396032);
        double r25396034 = y;
        double r25396035 = sin(r25396034);
        double r25396036 = r25396035 / r25396034;
        double r25396037 = r25396033 * r25396036;
        return r25396037;
}

double f(double x, double y) {
        double r25396038 = x;
        double r25396039 = cosh(r25396038);
        double r25396040 = y;
        double r25396041 = sin(r25396040);
        double r25396042 = r25396041 / r25396040;
        double r25396043 = r25396039 * r25396042;
        return r25396043;
}

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 2019163 
(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)))