\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r687533 = x;
double r687534 = cosh(r687533);
double r687535 = y;
double r687536 = sin(r687535);
double r687537 = r687536 / r687535;
double r687538 = r687534 * r687537;
return r687538;
}
double f(double x, double y) {
double r687539 = x;
double r687540 = cosh(r687539);
double r687541 = y;
double r687542 = sin(r687541);
double r687543 = r687542 / r687541;
double r687544 = r687540 * r687543;
return r687544;
}




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