\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r579740 = x;
double r579741 = cosh(r579740);
double r579742 = y;
double r579743 = sin(r579742);
double r579744 = r579743 / r579742;
double r579745 = r579741 * r579744;
return r579745;
}
double f(double x, double y) {
double r579746 = x;
double r579747 = cosh(r579746);
double r579748 = y;
double r579749 = sin(r579748);
double r579750 = r579749 / r579748;
double r579751 = r579747 * r579750;
return r579751;
}




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