\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r481397 = x;
double r481398 = cosh(r481397);
double r481399 = y;
double r481400 = sin(r481399);
double r481401 = r481400 / r481399;
double r481402 = r481398 * r481401;
return r481402;
}
double f(double x, double y) {
double r481403 = x;
double r481404 = cosh(r481403);
double r481405 = y;
double r481406 = sin(r481405);
double r481407 = r481406 / r481405;
double r481408 = r481404 * r481407;
return r481408;
}




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 2020056
(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)))