\cosh x \cdot \frac{\sin y}{y}\frac{\sin y \cdot \cosh x}{y}double f(double x, double y) {
double r156188 = x;
double r156189 = cosh(r156188);
double r156190 = y;
double r156191 = sin(r156190);
double r156192 = r156191 / r156190;
double r156193 = r156189 * r156192;
return r156193;
}
double f(double x, double y) {
double r156194 = y;
double r156195 = sin(r156194);
double r156196 = x;
double r156197 = cosh(r156196);
double r156198 = r156195 * r156197;
double r156199 = r156198 / r156194;
return r156199;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2019174
(FPCore (x y)
:name "Linear.Quaternion:$csinh from linear-1.19.1.3"
:herbie-target
(/ (* (cosh x) (sin y)) y)
(* (cosh x) (/ (sin y) y)))