\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r517365 = x;
double r517366 = cosh(r517365);
double r517367 = y;
double r517368 = sin(r517367);
double r517369 = r517368 / r517367;
double r517370 = r517366 * r517369;
return r517370;
}
double f(double x, double y) {
double r517371 = x;
double r517372 = cosh(r517371);
double r517373 = y;
double r517374 = sin(r517373);
double r517375 = r517374 / r517373;
double r517376 = r517372 * r517375;
return r517376;
}




Bits error versus x




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