\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r522782 = x;
double r522783 = cosh(r522782);
double r522784 = y;
double r522785 = sin(r522784);
double r522786 = r522785 / r522784;
double r522787 = r522783 * r522786;
return r522787;
}
double f(double x, double y) {
double r522788 = x;
double r522789 = cosh(r522788);
double r522790 = y;
double r522791 = sin(r522790);
double r522792 = r522791 / r522790;
double r522793 = r522789 * r522792;
return r522793;
}




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