\frac{\sin x \cdot \sinh y}{x}\frac{\sin x}{x} \cdot \sinh ydouble f(double x, double y) {
double r559734 = x;
double r559735 = sin(r559734);
double r559736 = y;
double r559737 = sinh(r559736);
double r559738 = r559735 * r559737;
double r559739 = r559738 / r559734;
return r559739;
}
double f(double x, double y) {
double r559740 = x;
double r559741 = sin(r559740);
double r559742 = r559741 / r559740;
double r559743 = y;
double r559744 = sinh(r559743);
double r559745 = r559742 * r559744;
return r559745;
}




Bits error versus x




Bits error versus y
Results
| Original | 14.2 |
|---|---|
| Target | 0.2 |
| Herbie | 0.1 |
Initial program 14.2
rmApplied associate-/l*0.7
rmApplied associate-/r/0.1
Final simplification0.1
herbie shell --seed 2020036
(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))