\cosh x \cdot \frac{\sin y}{y}\frac{\sin y \cdot \cosh x}{y}double f(double x, double y) {
double r471532 = x;
double r471533 = cosh(r471532);
double r471534 = y;
double r471535 = sin(r471534);
double r471536 = r471535 / r471534;
double r471537 = r471533 * r471536;
return r471537;
}
double f(double x, double y) {
double r471538 = y;
double r471539 = sin(r471538);
double r471540 = x;
double r471541 = cosh(r471540);
double r471542 = r471539 * r471541;
double r471543 = r471542 / r471538;
return r471543;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2019194
(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)))