\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r582509 = x;
double r582510 = cosh(r582509);
double r582511 = y;
double r582512 = sin(r582511);
double r582513 = r582512 / r582511;
double r582514 = r582510 * r582513;
return r582514;
}
double f(double x, double y) {
double r582515 = x;
double r582516 = cosh(r582515);
double r582517 = y;
double r582518 = sin(r582517);
double r582519 = r582518 / r582517;
double r582520 = r582516 * r582519;
return r582520;
}




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