\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r23332119 = x;
double r23332120 = cosh(r23332119);
double r23332121 = y;
double r23332122 = sin(r23332121);
double r23332123 = r23332122 / r23332121;
double r23332124 = r23332120 * r23332123;
return r23332124;
}
double f(double x, double y) {
double r23332125 = x;
double r23332126 = cosh(r23332125);
double r23332127 = y;
double r23332128 = sin(r23332127);
double r23332129 = r23332128 / r23332127;
double r23332130 = r23332126 * r23332129;
return r23332130;
}




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