\cosh x \cdot \frac{\sin y}{y}\frac{\cosh x}{\frac{y}{\sin y}}double f(double x, double y) {
double r331590 = x;
double r331591 = cosh(r331590);
double r331592 = y;
double r331593 = sin(r331592);
double r331594 = r331593 / r331592;
double r331595 = r331591 * r331594;
return r331595;
}
double f(double x, double y) {
double r331596 = x;
double r331597 = cosh(r331596);
double r331598 = y;
double r331599 = sin(r331598);
double r331600 = r331598 / r331599;
double r331601 = r331597 / r331600;
return r331601;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.2 |
Initial program 0.1
Simplified0.1
rmApplied associate-/l*0.2
Final simplification0.2
herbie shell --seed 2019196
(FPCore (x y)
:name "Linear.Quaternion:$csinh from linear-1.19.1.3"
:herbie-target
(/ (* (cosh x) (sin y)) y)
(* (cosh x) (/ (sin y) y)))