\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r495254 = x;
double r495255 = cosh(r495254);
double r495256 = y;
double r495257 = sin(r495256);
double r495258 = r495257 / r495256;
double r495259 = r495255 * r495258;
return r495259;
}
double f(double x, double y) {
double r495260 = x;
double r495261 = cosh(r495260);
double r495262 = y;
double r495263 = sin(r495262);
double r495264 = r495263 / r495262;
double r495265 = r495261 * r495264;
return r495265;
}




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