\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r513580 = x;
double r513581 = cosh(r513580);
double r513582 = y;
double r513583 = sin(r513582);
double r513584 = r513583 / r513582;
double r513585 = r513581 * r513584;
return r513585;
}
double f(double x, double y) {
double r513586 = x;
double r513587 = cosh(r513586);
double r513588 = y;
double r513589 = sin(r513588);
double r513590 = r513589 / r513588;
double r513591 = r513587 * r513590;
return r513591;
}




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