\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r333694 = x;
double r333695 = cosh(r333694);
double r333696 = y;
double r333697 = sin(r333696);
double r333698 = r333697 / r333696;
double r333699 = r333695 * r333698;
return r333699;
}
double f(double x, double y) {
double r333700 = x;
double r333701 = cosh(r333700);
double r333702 = y;
double r333703 = sin(r333702);
double r333704 = r333703 / r333702;
double r333705 = r333701 * r333704;
return r333705;
}




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 2019347 +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)))