\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r317179 = x;
double r317180 = cosh(r317179);
double r317181 = y;
double r317182 = sin(r317181);
double r317183 = r317182 / r317181;
double r317184 = r317180 * r317183;
return r317184;
}
double f(double x, double y) {
double r317185 = x;
double r317186 = cosh(r317185);
double r317187 = y;
double r317188 = sin(r317187);
double r317189 = r317188 / r317187;
double r317190 = r317186 * r317189;
return r317190;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 0.1
Final simplification0.1
herbie shell --seed 2019298
(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)))