\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r23239190 = x;
double r23239191 = cosh(r23239190);
double r23239192 = y;
double r23239193 = sin(r23239192);
double r23239194 = r23239193 / r23239192;
double r23239195 = r23239191 * r23239194;
return r23239195;
}
double f(double x, double y) {
double r23239196 = x;
double r23239197 = cosh(r23239196);
double r23239198 = y;
double r23239199 = sin(r23239198);
double r23239200 = r23239199 / r23239198;
double r23239201 = r23239197 * r23239200;
return r23239201;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 0.1
rmApplied clear-num0.2
Taylor expanded around inf 0.1
Final simplification0.1
herbie shell --seed 2019164 +o rules:numerics
(FPCore (x y)
:name "Linear.Quaternion:$csinh from linear-1.19.1.3"
:herbie-target
(/ (* (cosh x) (sin y)) y)
(* (cosh x) (/ (sin y) y)))