\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{1}{\frac{y}{\sin y}}double f(double x, double y) {
double r630150 = x;
double r630151 = cosh(r630150);
double r630152 = y;
double r630153 = sin(r630152);
double r630154 = r630153 / r630152;
double r630155 = r630151 * r630154;
return r630155;
}
double f(double x, double y) {
double r630156 = x;
double r630157 = cosh(r630156);
double r630158 = 1.0;
double r630159 = y;
double r630160 = sin(r630159);
double r630161 = r630159 / r630160;
double r630162 = r630158 / r630161;
double r630163 = r630157 * r630162;
return r630163;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.2 |
Initial program 0.1
rmApplied clear-num0.2
Final simplification0.2
herbie shell --seed 2020034
(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)))