\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r479508 = x;
double r479509 = cosh(r479508);
double r479510 = y;
double r479511 = sin(r479510);
double r479512 = r479511 / r479510;
double r479513 = r479509 * r479512;
return r479513;
}
double f(double x, double y) {
double r479514 = x;
double r479515 = cosh(r479514);
double r479516 = y;
double r479517 = sin(r479516);
double r479518 = r479517 / r479516;
double r479519 = r479515 * r479518;
return r479519;
}




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