\cosh x \cdot \frac{\sin y}{y}\frac{\cosh x}{\frac{y}{\sin y}}double f(double x, double y) {
double r604025 = x;
double r604026 = cosh(r604025);
double r604027 = y;
double r604028 = sin(r604027);
double r604029 = r604028 / r604027;
double r604030 = r604026 * r604029;
return r604030;
}
double f(double x, double y) {
double r604031 = x;
double r604032 = cosh(r604031);
double r604033 = y;
double r604034 = sin(r604033);
double r604035 = r604033 / r604034;
double r604036 = r604032 / r604035;
return r604036;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.2 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 0.2
Taylor expanded around inf 0.2
Simplified0.2
Final simplification0.2
herbie shell --seed 2020047 +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)))