\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r588370 = x;
double r588371 = cosh(r588370);
double r588372 = y;
double r588373 = sin(r588372);
double r588374 = r588373 / r588372;
double r588375 = r588371 * r588374;
return r588375;
}
double f(double x, double y) {
double r588376 = x;
double r588377 = cosh(r588376);
double r588378 = y;
double r588379 = sin(r588378);
double r588380 = r588379 / r588378;
double r588381 = r588377 * r588380;
return r588381;
}




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