\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r513911 = x;
double r513912 = cosh(r513911);
double r513913 = y;
double r513914 = sin(r513913);
double r513915 = r513914 / r513913;
double r513916 = r513912 * r513915;
return r513916;
}
double f(double x, double y) {
double r513917 = x;
double r513918 = cosh(r513917);
double r513919 = y;
double r513920 = sin(r513919);
double r513921 = r513920 / r513919;
double r513922 = r513918 * r513921;
return r513922;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 0.1
Final simplification0.1
herbie shell --seed 2020021 +o rules:numerics
(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)))