\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r378360 = x;
double r378361 = cosh(r378360);
double r378362 = y;
double r378363 = sin(r378362);
double r378364 = r378363 / r378362;
double r378365 = r378361 * r378364;
return r378365;
}
double f(double x, double y) {
double r378366 = x;
double r378367 = cosh(r378366);
double r378368 = y;
double r378369 = sin(r378368);
double r378370 = r378369 / r378368;
double r378371 = r378367 * r378370;
return r378371;
}




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