\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r688066 = x;
double r688067 = cosh(r688066);
double r688068 = y;
double r688069 = sin(r688068);
double r688070 = r688069 / r688068;
double r688071 = r688067 * r688070;
return r688071;
}
double f(double x, double y) {
double r688072 = x;
double r688073 = cosh(r688072);
double r688074 = y;
double r688075 = sin(r688074);
double r688076 = r688075 / r688074;
double r688077 = r688073 * r688076;
return r688077;
}




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