\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r320905 = x;
double r320906 = cosh(r320905);
double r320907 = y;
double r320908 = sin(r320907);
double r320909 = r320908 / r320907;
double r320910 = r320906 * r320909;
return r320910;
}
double f(double x, double y) {
double r320911 = x;
double r320912 = cosh(r320911);
double r320913 = y;
double r320914 = sin(r320913);
double r320915 = r320914 / r320913;
double r320916 = r320912 * r320915;
return r320916;
}




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