\frac{\sin x \cdot \sinh y}{x}\sin x \cdot \frac{\sinh y}{x}double f(double x, double y) {
double r424798 = x;
double r424799 = sin(r424798);
double r424800 = y;
double r424801 = sinh(r424800);
double r424802 = r424799 * r424801;
double r424803 = r424802 / r424798;
return r424803;
}
double f(double x, double y) {
double r424804 = x;
double r424805 = sin(r424804);
double r424806 = y;
double r424807 = sinh(r424806);
double r424808 = r424807 / r424804;
double r424809 = r424805 * r424808;
return r424809;
}




Bits error versus x




Bits error versus y
Results
| Original | 14.3 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 14.3
rmApplied *-un-lft-identity14.3
Applied times-frac0.2
Simplified0.2
Final simplification0.2
herbie shell --seed 2019198
(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))