\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r523380 = x;
double r523381 = cosh(r523380);
double r523382 = y;
double r523383 = sin(r523382);
double r523384 = r523383 / r523382;
double r523385 = r523381 * r523384;
return r523385;
}
double f(double x, double y) {
double r523386 = x;
double r523387 = cosh(r523386);
double r523388 = y;
double r523389 = sin(r523388);
double r523390 = r523389 / r523388;
double r523391 = r523387 * r523390;
return r523391;
}




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