\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r512967 = x;
double r512968 = cosh(r512967);
double r512969 = y;
double r512970 = sin(r512969);
double r512971 = r512970 / r512969;
double r512972 = r512968 * r512971;
return r512972;
}
double f(double x, double y) {
double r512973 = x;
double r512974 = cosh(r512973);
double r512975 = y;
double r512976 = sin(r512975);
double r512977 = r512976 / r512975;
double r512978 = r512974 * r512977;
return r512978;
}




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