\cosh x \cdot \frac{\sin y}{y}\frac{\cosh x \cdot \sin y}{y}double f(double x, double y) {
double r289862 = x;
double r289863 = cosh(r289862);
double r289864 = y;
double r289865 = sin(r289864);
double r289866 = r289865 / r289864;
double r289867 = r289863 * r289866;
return r289867;
}
double f(double x, double y) {
double r289868 = x;
double r289869 = cosh(r289868);
double r289870 = y;
double r289871 = sin(r289870);
double r289872 = r289869 * r289871;
double r289873 = r289872 / r289870;
return r289873;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 0.1
rmApplied div-inv0.3
Applied associate-*r*0.3
rmApplied expm1-log1p-u0.5
rmApplied associate-*r/0.4
Simplified0.1
Final simplification0.1
herbie shell --seed 2020034 +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)))