\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r510548 = x;
double r510549 = cosh(r510548);
double r510550 = y;
double r510551 = sin(r510550);
double r510552 = r510551 / r510550;
double r510553 = r510549 * r510552;
return r510553;
}
double f(double x, double y) {
double r510554 = x;
double r510555 = cosh(r510554);
double r510556 = y;
double r510557 = sin(r510556);
double r510558 = r510557 / r510556;
double r510559 = r510555 * r510558;
return r510559;
}




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 2020089 +o rules:numerics
(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)))