\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r515903 = x;
double r515904 = cosh(r515903);
double r515905 = y;
double r515906 = sin(r515905);
double r515907 = r515906 / r515905;
double r515908 = r515904 * r515907;
return r515908;
}
double f(double x, double y) {
double r515909 = x;
double r515910 = cosh(r515909);
double r515911 = y;
double r515912 = sin(r515911);
double r515913 = r515912 / r515911;
double r515914 = r515910 * r515913;
return r515914;
}




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 2019356
(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)))