\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r460489 = x;
double r460490 = cosh(r460489);
double r460491 = y;
double r460492 = sin(r460491);
double r460493 = r460492 / r460491;
double r460494 = r460490 * r460493;
return r460494;
}
double f(double x, double y) {
double r460495 = x;
double r460496 = cosh(r460495);
double r460497 = y;
double r460498 = sin(r460497);
double r460499 = r460498 / r460497;
double r460500 = r460496 * r460499;
return r460500;
}




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