\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r507513 = x;
double r507514 = cosh(r507513);
double r507515 = y;
double r507516 = sin(r507515);
double r507517 = r507516 / r507515;
double r507518 = r507514 * r507517;
return r507518;
}
double f(double x, double y) {
double r507519 = x;
double r507520 = cosh(r507519);
double r507521 = y;
double r507522 = sin(r507521);
double r507523 = r507522 / r507521;
double r507524 = r507520 * r507523;
return r507524;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.2 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 0.2
Final simplification0.2
herbie shell --seed 2020002
(FPCore (x y)
:name "Linear.Quaternion:$csinh from linear-1.19.1.3"
:precision binary64
:herbie-target
(/ (* (cosh x) (sin y)) y)
(* (cosh x) (/ (sin y) y)))