\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{1}{\frac{y}{\sin y}}double f(double x, double y) {
double r1155813 = x;
double r1155814 = cosh(r1155813);
double r1155815 = y;
double r1155816 = sin(r1155815);
double r1155817 = r1155816 / r1155815;
double r1155818 = r1155814 * r1155817;
return r1155818;
}
double f(double x, double y) {
double r1155819 = x;
double r1155820 = cosh(r1155819);
double r1155821 = 1.0;
double r1155822 = y;
double r1155823 = sin(r1155822);
double r1155824 = r1155822 / r1155823;
double r1155825 = r1155821 / r1155824;
double r1155826 = r1155820 * r1155825;
return r1155826;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.2 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 0.2
rmApplied clear-num0.2
Final simplification0.2
herbie shell --seed 2020047
(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)))