\frac{\sin x \cdot \sinh y}{x}\frac{\sin x}{x} \cdot \sinh ydouble f(double x, double y) {
double r621758 = x;
double r621759 = sin(r621758);
double r621760 = y;
double r621761 = sinh(r621760);
double r621762 = r621759 * r621761;
double r621763 = r621762 / r621758;
return r621763;
}
double f(double x, double y) {
double r621764 = x;
double r621765 = sin(r621764);
double r621766 = r621765 / r621764;
double r621767 = y;
double r621768 = sinh(r621767);
double r621769 = r621766 * r621768;
return r621769;
}




Bits error versus x




Bits error versus y
Results
| Original | 14.6 |
|---|---|
| Target | 0.2 |
| Herbie | 0.1 |
Initial program 14.6
rmApplied associate-/l*0.8
rmApplied associate-/r/0.1
Final simplification0.1
herbie shell --seed 2020047
(FPCore (x y)
:name "Linear.Quaternion:$ccosh from linear-1.19.1.3"
:precision binary64
:herbie-target
(* (sin x) (/ (sinh y) x))
(/ (* (sin x) (sinh y)) x))