\frac{\sin x \cdot \sinh y}{x}\sinh y \cdot \frac{\sin x}{x}double f(double x, double y) {
double r1067933 = x;
double r1067934 = sin(r1067933);
double r1067935 = y;
double r1067936 = sinh(r1067935);
double r1067937 = r1067934 * r1067936;
double r1067938 = r1067937 / r1067933;
return r1067938;
}
double f(double x, double y) {
double r1067939 = y;
double r1067940 = sinh(r1067939);
double r1067941 = x;
double r1067942 = sin(r1067941);
double r1067943 = r1067942 / r1067941;
double r1067944 = r1067940 * r1067943;
return r1067944;
}




Bits error versus x




Bits error versus y
Results
| Original | 14.4 |
|---|---|
| Target | 0.2 |
| Herbie | 0.1 |
Initial program 14.4
Taylor expanded around inf 44.0
Simplified0.2
rmApplied div-inv0.3
Applied associate-*l*0.2
Simplified0.1
Final simplification0.1
herbie shell --seed 2019303
(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))