\frac{\sin x \cdot \sinh y}{x}\frac{\sin x}{\frac{x}{\sinh y}}double f(double x, double y) {
double r458047 = x;
double r458048 = sin(r458047);
double r458049 = y;
double r458050 = sinh(r458049);
double r458051 = r458048 * r458050;
double r458052 = r458051 / r458047;
return r458052;
}
double f(double x, double y) {
double r458053 = x;
double r458054 = sin(r458053);
double r458055 = y;
double r458056 = sinh(r458055);
double r458057 = r458053 / r458056;
double r458058 = r458054 / r458057;
return r458058;
}




Bits error versus x




Bits error versus y
Results
| Original | 13.9 |
|---|---|
| Target | 0.2 |
| Herbie | 0.8 |
Initial program 13.9
Simplified0.8
Final simplification0.8
herbie shell --seed 2019174
(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))