\cosh x \cdot \frac{\sin y}{y}\frac{\sin y}{y} \cdot \cosh xdouble f(double x, double y) {
double r398954 = x;
double r398955 = cosh(r398954);
double r398956 = y;
double r398957 = sin(r398956);
double r398958 = r398957 / r398956;
double r398959 = r398955 * r398958;
return r398959;
}
double f(double x, double y) {
double r398960 = y;
double r398961 = sin(r398960);
double r398962 = r398961 / r398960;
double r398963 = x;
double r398964 = cosh(r398963);
double r398965 = r398962 * r398964;
return r398965;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.2 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 0.2
rmApplied *-commutative0.2
Final simplification0.2
herbie shell --seed 2019303 +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)))