\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r493455 = x;
double r493456 = cosh(r493455);
double r493457 = y;
double r493458 = sin(r493457);
double r493459 = r493458 / r493457;
double r493460 = r493456 * r493459;
return r493460;
}
double f(double x, double y) {
double r493461 = x;
double r493462 = cosh(r493461);
double r493463 = y;
double r493464 = sin(r493463);
double r493465 = r493464 / r493463;
double r493466 = r493462 * r493465;
return r493466;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 0.1
rmApplied clear-num0.2
Taylor expanded around inf 0.1
Final simplification0.1
herbie shell --seed 2020083
(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)))