\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r779143 = x;
double r779144 = cosh(r779143);
double r779145 = y;
double r779146 = sin(r779145);
double r779147 = r779146 / r779145;
double r779148 = r779144 * r779147;
return r779148;
}
double f(double x, double y) {
double r779149 = x;
double r779150 = cosh(r779149);
double r779151 = y;
double r779152 = sin(r779151);
double r779153 = r779152 / r779151;
double r779154 = r779150 * r779153;
return r779154;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 0.1
rmApplied clear-num0.2
rmApplied div-inv0.4
Taylor expanded around inf 0.1
Final simplification0.1
herbie shell --seed 2020042
(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)))