\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r742700 = x;
double r742701 = cosh(r742700);
double r742702 = y;
double r742703 = sin(r742702);
double r742704 = r742703 / r742702;
double r742705 = r742701 * r742704;
return r742705;
}
double f(double x, double y) {
double r742706 = x;
double r742707 = cosh(r742706);
double r742708 = y;
double r742709 = sin(r742708);
double r742710 = r742709 / r742708;
double r742711 = r742707 * r742710;
return r742711;
}




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