\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r554258 = x;
double r554259 = cosh(r554258);
double r554260 = y;
double r554261 = sin(r554260);
double r554262 = r554261 / r554260;
double r554263 = r554259 * r554262;
return r554263;
}
double f(double x, double y) {
double r554264 = x;
double r554265 = cosh(r554264);
double r554266 = y;
double r554267 = sin(r554266);
double r554268 = r554267 / r554266;
double r554269 = r554265 * r554268;
return r554269;
}




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