\frac{\sin x \cdot \sinh y}{x}\sin x \cdot \frac{\sinh y}{x}double f(double x, double y) {
double r24944880 = x;
double r24944881 = sin(r24944880);
double r24944882 = y;
double r24944883 = sinh(r24944882);
double r24944884 = r24944881 * r24944883;
double r24944885 = r24944884 / r24944880;
return r24944885;
}
double f(double x, double y) {
double r24944886 = x;
double r24944887 = sin(r24944886);
double r24944888 = y;
double r24944889 = sinh(r24944888);
double r24944890 = r24944889 / r24944886;
double r24944891 = r24944887 * r24944890;
return r24944891;
}




Bits error versus x




Bits error versus y
Results
| Original | 13.8 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 13.8
rmApplied *-un-lft-identity13.8
Applied times-frac0.2
Simplified0.2
Final simplification0.2
herbie shell --seed 2019170
(FPCore (x y)
:name "Linear.Quaternion:$ccosh from linear-1.19.1.3"
:herbie-target
(* (sin x) (/ (sinh y) x))
(/ (* (sin x) (sinh y)) x))