\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r531016 = x;
double r531017 = cosh(r531016);
double r531018 = y;
double r531019 = sin(r531018);
double r531020 = r531019 / r531018;
double r531021 = r531017 * r531020;
return r531021;
}
double f(double x, double y) {
double r531022 = x;
double r531023 = cosh(r531022);
double r531024 = y;
double r531025 = sin(r531024);
double r531026 = r531025 / r531024;
double r531027 = r531023 * r531026;
return r531027;
}




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