\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r1227989 = x;
double r1227990 = cosh(r1227989);
double r1227991 = y;
double r1227992 = sin(r1227991);
double r1227993 = r1227992 / r1227991;
double r1227994 = r1227990 * r1227993;
return r1227994;
}
double f(double x, double y) {
double r1227995 = x;
double r1227996 = cosh(r1227995);
double r1227997 = y;
double r1227998 = sin(r1227997);
double r1227999 = r1227998 / r1227997;
double r1228000 = r1227996 * r1227999;
return r1228000;
}




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
Taylor expanded around inf 0.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)))