\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r335431 = x;
double r335432 = cosh(r335431);
double r335433 = y;
double r335434 = sin(r335433);
double r335435 = r335434 / r335433;
double r335436 = r335432 * r335435;
return r335436;
}
double f(double x, double y) {
double r335437 = x;
double r335438 = cosh(r335437);
double r335439 = y;
double r335440 = sin(r335439);
double r335441 = r335440 / r335439;
double r335442 = r335438 * r335441;
return r335442;
}




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