\frac{\sin x \cdot \sinh y}{x}\frac{\sin x}{x} \cdot \sinh ydouble f(double x, double y) {
double r379303 = x;
double r379304 = sin(r379303);
double r379305 = y;
double r379306 = sinh(r379305);
double r379307 = r379304 * r379306;
double r379308 = r379307 / r379303;
return r379308;
}
double f(double x, double y) {
double r379309 = x;
double r379310 = sin(r379309);
double r379311 = r379310 / r379309;
double r379312 = y;
double r379313 = sinh(r379312);
double r379314 = r379311 * r379313;
return r379314;
}




Bits error versus x




Bits error versus y
Results
| Original | 13.3 |
|---|---|
| Target | 0.2 |
| Herbie | 0.1 |
Initial program 13.3
rmApplied associate-/l*0.8
rmApplied associate-/r/0.1
Final simplification0.1
herbie shell --seed 2019208
(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))