\frac{\sin x \cdot \sinh y}{x}\sinh y \cdot \frac{\sin x}{x}double f(double x, double y) {
double r475149 = x;
double r475150 = sin(r475149);
double r475151 = y;
double r475152 = sinh(r475151);
double r475153 = r475150 * r475152;
double r475154 = r475153 / r475149;
return r475154;
}
double f(double x, double y) {
double r475155 = y;
double r475156 = sinh(r475155);
double r475157 = x;
double r475158 = sin(r475157);
double r475159 = r475158 / r475157;
double r475160 = r475156 * r475159;
return r475160;
}




Bits error versus x




Bits error versus y
Results
| Original | 14.1 |
|---|---|
| Target | 0.2 |
| Herbie | 0.1 |
Initial program 14.1
rmApplied *-un-lft-identity14.1
Applied times-frac0.2
Simplified0.2
rmApplied div-inv0.3
rmApplied sinh-def43.2
Applied associate-*l/43.2
Applied associate-*r/43.2
Simplified0.2
rmApplied *-un-lft-identity0.2
Applied times-frac0.2
Simplified0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2020083
(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))