\frac{\sin x \cdot \sinh y}{x}\frac{\sin x}{x} \cdot \sinh ydouble f(double x, double y) {
double r411616 = x;
double r411617 = sin(r411616);
double r411618 = y;
double r411619 = sinh(r411618);
double r411620 = r411617 * r411619;
double r411621 = r411620 / r411616;
return r411621;
}
double f(double x, double y) {
double r411622 = x;
double r411623 = sin(r411622);
double r411624 = r411623 / r411622;
double r411625 = y;
double r411626 = sinh(r411625);
double r411627 = r411624 * r411626;
return r411627;
}




Bits error versus x




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