\frac{\sin x \cdot \sinh y}{x}\left(\sinh y \cdot \frac{\sqrt[3]{\sin x} \cdot \sqrt[3]{\sin x}}{\sqrt[3]{x} \cdot \sqrt[3]{x}}\right) \cdot \frac{\sqrt[3]{\sin x}}{\sqrt[3]{x}}double f(double x, double y) {
double r359724 = x;
double r359725 = sin(r359724);
double r359726 = y;
double r359727 = sinh(r359726);
double r359728 = r359725 * r359727;
double r359729 = r359728 / r359724;
return r359729;
}
double f(double x, double y) {
double r359730 = y;
double r359731 = sinh(r359730);
double r359732 = x;
double r359733 = sin(r359732);
double r359734 = cbrt(r359733);
double r359735 = r359734 * r359734;
double r359736 = cbrt(r359732);
double r359737 = r359736 * r359736;
double r359738 = r359735 / r359737;
double r359739 = r359731 * r359738;
double r359740 = r359734 / r359736;
double r359741 = r359739 * r359740;
return r359741;
}




Bits error versus x




Bits error versus y
Results
| Original | 14.3 |
|---|---|
| Target | 0.2 |
| Herbie | 0.5 |
Initial program 14.3
Taylor expanded around inf 43.7
Simplified0.2
rmApplied div-inv0.3
Applied associate-*l*0.2
Simplified0.1
rmApplied add-cube-cbrt1.1
Applied add-cube-cbrt0.5
Applied times-frac0.5
Applied associate-*r*0.5
Final simplification0.5
herbie shell --seed 2019325
(FPCore (x y)
:name "Linear.Quaternion:$ccosh from linear-1.19.1.3"
:precision binary64
:herbie-target
(* (sin x) (/ (sinh y) x))
(/ (* (sin x) (sinh y)) x))