\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r2761 = x;
double r2762 = cosh(r2761);
double r2763 = y;
double r2764 = sin(r2763);
double r2765 = r2764 / r2763;
double r2766 = r2762 * r2765;
return r2766;
}
double f(double x, double y) {
double r2767 = x;
double r2768 = cosh(r2767);
double r2769 = y;
double r2770 = sin(r2769);
double r2771 = r2770 / r2769;
double r2772 = r2768 * r2771;
return r2772;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.2 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 0.2
Final simplification0.2
herbie shell --seed 2020025
(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)))