\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r544023 = x;
double r544024 = cosh(r544023);
double r544025 = y;
double r544026 = sin(r544025);
double r544027 = r544026 / r544025;
double r544028 = r544024 * r544027;
return r544028;
}
double f(double x, double y) {
double r544029 = x;
double r544030 = cosh(r544029);
double r544031 = y;
double r544032 = sin(r544031);
double r544033 = r544032 / r544031;
double r544034 = r544030 * r544033;
return r544034;
}




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