\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r516963 = x;
double r516964 = cosh(r516963);
double r516965 = y;
double r516966 = sin(r516965);
double r516967 = r516966 / r516965;
double r516968 = r516964 * r516967;
return r516968;
}
double f(double x, double y) {
double r516969 = x;
double r516970 = cosh(r516969);
double r516971 = y;
double r516972 = sin(r516971);
double r516973 = r516972 / r516971;
double r516974 = r516970 * r516973;
return r516974;
}




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