\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r388639 = x;
double r388640 = cosh(r388639);
double r388641 = y;
double r388642 = sin(r388641);
double r388643 = r388642 / r388641;
double r388644 = r388640 * r388643;
return r388644;
}
double f(double x, double y) {
double r388645 = x;
double r388646 = cosh(r388645);
double r388647 = y;
double r388648 = sin(r388647);
double r388649 = r388648 / r388647;
double r388650 = r388646 * r388649;
return r388650;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.2 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 0.2
Final simplification0.2
herbie shell --seed 2019308
(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)))