\frac{\sin x \cdot \sinh y}{x}\sin x \cdot \frac{\sinh y}{x}double f(double x, double y) {
double r26151755 = x;
double r26151756 = sin(r26151755);
double r26151757 = y;
double r26151758 = sinh(r26151757);
double r26151759 = r26151756 * r26151758;
double r26151760 = r26151759 / r26151755;
return r26151760;
}
double f(double x, double y) {
double r26151761 = x;
double r26151762 = sin(r26151761);
double r26151763 = y;
double r26151764 = sinh(r26151763);
double r26151765 = r26151764 / r26151761;
double r26151766 = r26151762 * r26151765;
return r26151766;
}




Bits error versus x




Bits error versus y
Results
| Original | 13.9 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 13.9
rmApplied *-un-lft-identity13.9
Applied times-frac0.2
Simplified0.2
Final simplification0.2
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))