\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r538130 = x;
double r538131 = cosh(r538130);
double r538132 = y;
double r538133 = sin(r538132);
double r538134 = r538133 / r538132;
double r538135 = r538131 * r538134;
return r538135;
}
double f(double x, double y) {
double r538136 = x;
double r538137 = cosh(r538136);
double r538138 = y;
double r538139 = sin(r538138);
double r538140 = r538139 / r538138;
double r538141 = r538137 * r538140;
return r538141;
}




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