\frac{\sin x \cdot \sinh y}{x}\sinh y \cdot \frac{\sin x}{x}double f(double x, double y) {
double r330790 = x;
double r330791 = sin(r330790);
double r330792 = y;
double r330793 = sinh(r330792);
double r330794 = r330791 * r330793;
double r330795 = r330794 / r330790;
return r330795;
}
double f(double x, double y) {
double r330796 = y;
double r330797 = sinh(r330796);
double r330798 = x;
double r330799 = sin(r330798);
double r330800 = r330799 / r330798;
double r330801 = r330797 * r330800;
return r330801;
}




Bits error versus x




Bits error versus y
Results
| Original | 14.4 |
|---|---|
| Target | 0.2 |
| Herbie | 0.1 |
Initial program 14.4
Taylor expanded around inf 44.0
Simplified0.2
rmApplied div-inv0.3
Applied associate-*l*0.2
Simplified0.1
Final simplification0.1
herbie shell --seed 2019303
(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))