\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r531506 = x;
double r531507 = cosh(r531506);
double r531508 = y;
double r531509 = sin(r531508);
double r531510 = r531509 / r531508;
double r531511 = r531507 * r531510;
return r531511;
}
double f(double x, double y) {
double r531512 = x;
double r531513 = cosh(r531512);
double r531514 = y;
double r531515 = sin(r531514);
double r531516 = r531515 / r531514;
double r531517 = r531513 * r531516;
return r531517;
}




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