Average Error: 0.2 → 0.2
Time: 5.0s
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 r512967 = x;
        double r512968 = cosh(r512967);
        double r512969 = y;
        double r512970 = sin(r512969);
        double r512971 = r512970 / r512969;
        double r512972 = r512968 * r512971;
        return r512972;
}

double f(double x, double y) {
        double r512973 = x;
        double r512974 = cosh(r512973);
        double r512975 = y;
        double r512976 = sin(r512975);
        double r512977 = r512976 / r512975;
        double r512978 = r512974 * r512977;
        return r512978;
}

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