\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r341549 = x;
double r341550 = cosh(r341549);
double r341551 = y;
double r341552 = sin(r341551);
double r341553 = r341552 / r341551;
double r341554 = r341550 * r341553;
return r341554;
}
double f(double x, double y) {
double r341555 = x;
double r341556 = cosh(r341555);
double r341557 = y;
double r341558 = sin(r341557);
double r341559 = r341558 / r341557;
double r341560 = r341556 * r341559;
return r341560;
}




Bits error versus x




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