\frac{\sin x \cdot \sinh y}{x}\sin x \cdot \frac{\sinh y}{x}double f(double x, double y) {
double r22386622 = x;
double r22386623 = sin(r22386622);
double r22386624 = y;
double r22386625 = sinh(r22386624);
double r22386626 = r22386623 * r22386625;
double r22386627 = r22386626 / r22386622;
return r22386627;
}
double f(double x, double y) {
double r22386628 = x;
double r22386629 = sin(r22386628);
double r22386630 = y;
double r22386631 = sinh(r22386630);
double r22386632 = r22386631 / r22386628;
double r22386633 = r22386629 * r22386632;
return r22386633;
}




Bits error versus x




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