Average Error: 0.2 → 0.2
Time: 28.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 r275030 = x;
        double r275031 = cosh(r275030);
        double r275032 = y;
        double r275033 = sin(r275032);
        double r275034 = r275033 / r275032;
        double r275035 = r275031 * r275034;
        return r275035;
}

double f(double x, double y) {
        double r275036 = x;
        double r275037 = cosh(r275036);
        double r275038 = y;
        double r275039 = sin(r275038);
        double r275040 = r275039 / r275038;
        double r275041 = r275037 * r275040;
        return r275041;
}

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