\frac{\sin x \cdot \sinh y}{x}\sin x \cdot \frac{\sinh y}{x}double f(double x, double y) {
double r21386045 = x;
double r21386046 = sin(r21386045);
double r21386047 = y;
double r21386048 = sinh(r21386047);
double r21386049 = r21386046 * r21386048;
double r21386050 = r21386049 / r21386045;
return r21386050;
}
double f(double x, double y) {
double r21386051 = x;
double r21386052 = sin(r21386051);
double r21386053 = y;
double r21386054 = sinh(r21386053);
double r21386055 = r21386054 / r21386051;
double r21386056 = r21386052 * r21386055;
return r21386056;
}




Bits error versus x




Bits error versus y
Results
| Original | 13.9 |
|---|---|
| Target | 0.3 |
| Herbie | 0.3 |
Initial program 13.9
rmApplied *-un-lft-identity13.9
Applied times-frac0.3
Simplified0.3
Final simplification0.3
herbie shell --seed 2019165
(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))