\frac{\sin x \cdot \sinh y}{x}\sin x \cdot \left(\left(\sqrt[3]{\sinh y} \cdot \sqrt[3]{\sinh y}\right) \cdot \frac{\sqrt[3]{\sinh y}}{x}\right)double code(double x, double y) {
return ((double) (((double) (((double) sin(x)) * ((double) sinh(y)))) / x));
}
double code(double x, double y) {
return ((double) (((double) sin(x)) * ((double) (((double) (((double) cbrt(((double) sinh(y)))) * ((double) cbrt(((double) sinh(y)))))) * ((double) (((double) cbrt(((double) sinh(y)))) / x))))));
}




Bits error versus x




Bits error versus y
Results
| Original | 13.8 |
|---|---|
| Target | 0.3 |
| Herbie | 1.2 |
Initial program 13.8
Simplified0.3
rmApplied *-un-lft-identity0.3
Applied add-cube-cbrt1.2
Applied times-frac1.2
Simplified1.2
Final simplification1.2
herbie shell --seed 2020184
(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))