\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r511923 = x;
double r511924 = cosh(r511923);
double r511925 = y;
double r511926 = sin(r511925);
double r511927 = r511926 / r511925;
double r511928 = r511924 * r511927;
return r511928;
}
double f(double x, double y) {
double r511929 = x;
double r511930 = cosh(r511929);
double r511931 = y;
double r511932 = sin(r511931);
double r511933 = r511932 / r511931;
double r511934 = r511930 * r511933;
return r511934;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 0.1
rmApplied clear-num0.2
Taylor expanded around inf 0.1
Final simplification0.1
herbie shell --seed 2020033 +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)))