\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r656009 = x;
double r656010 = cosh(r656009);
double r656011 = y;
double r656012 = sin(r656011);
double r656013 = r656012 / r656011;
double r656014 = r656010 * r656013;
return r656014;
}
double f(double x, double y) {
double r656015 = x;
double r656016 = cosh(r656015);
double r656017 = y;
double r656018 = sin(r656017);
double r656019 = r656018 / r656017;
double r656020 = r656016 * r656019;
return r656020;
}




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