\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r335417 = x;
double r335418 = cosh(r335417);
double r335419 = y;
double r335420 = sin(r335419);
double r335421 = r335420 / r335419;
double r335422 = r335418 * r335421;
return r335422;
}
double f(double x, double y) {
double r335423 = x;
double r335424 = cosh(r335423);
double r335425 = y;
double r335426 = sin(r335425);
double r335427 = r335426 / r335425;
double r335428 = r335424 * r335427;
return r335428;
}




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 2019326 +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)))