\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{-\sin y}{-y}double f(double x, double y) {
double r375215 = x;
double r375216 = cosh(r375215);
double r375217 = y;
double r375218 = sin(r375217);
double r375219 = r375218 / r375217;
double r375220 = r375216 * r375219;
return r375220;
}
double f(double x, double y) {
double r375221 = x;
double r375222 = cosh(r375221);
double r375223 = y;
double r375224 = sin(r375223);
double r375225 = -r375224;
double r375226 = -r375223;
double r375227 = r375225 / r375226;
double r375228 = r375222 * r375227;
return r375228;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 0.1
rmApplied frac-2neg0.1
Final simplification0.1
herbie shell --seed 2019235
(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)))