\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r299842 = x;
double r299843 = cosh(r299842);
double r299844 = y;
double r299845 = sin(r299844);
double r299846 = r299845 / r299844;
double r299847 = r299843 * r299846;
return r299847;
}
double f(double x, double y) {
double r299848 = x;
double r299849 = cosh(r299848);
double r299850 = y;
double r299851 = sin(r299850);
double r299852 = r299851 / r299850;
double r299853 = r299849 * r299852;
return r299853;
}




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