\cosh x \cdot \frac{\sin y}{y}\frac{\cosh x \cdot \sin y}{y}double f(double x, double y) {
double r411590 = x;
double r411591 = cosh(r411590);
double r411592 = y;
double r411593 = sin(r411592);
double r411594 = r411593 / r411592;
double r411595 = r411591 * r411594;
return r411595;
}
double f(double x, double y) {
double r411596 = x;
double r411597 = cosh(r411596);
double r411598 = y;
double r411599 = sin(r411598);
double r411600 = r411597 * r411599;
double r411601 = r411600 / r411598;
return r411601;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 0.1
rmApplied associate-*r/0.1
rmApplied clear-num0.2
Taylor expanded around inf 0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2020024
(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)))