\frac{\sin x \cdot \sinh y}{x}\sin x \cdot \frac{\sinh y}{x}double f(double x, double y) {
double r9980719 = x;
double r9980720 = sin(r9980719);
double r9980721 = y;
double r9980722 = sinh(r9980721);
double r9980723 = r9980720 * r9980722;
double r9980724 = r9980723 / r9980719;
return r9980724;
}
double f(double x, double y) {
double r9980725 = x;
double r9980726 = sin(r9980725);
double r9980727 = y;
double r9980728 = sinh(r9980727);
double r9980729 = r9980728 / r9980725;
double r9980730 = r9980726 * r9980729;
return r9980730;
}




Bits error versus x




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