\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r16776942 = x;
double r16776943 = cosh(r16776942);
double r16776944 = y;
double r16776945 = sin(r16776944);
double r16776946 = r16776945 / r16776944;
double r16776947 = r16776943 * r16776946;
return r16776947;
}
double f(double x, double y) {
double r16776948 = x;
double r16776949 = cosh(r16776948);
double r16776950 = y;
double r16776951 = sin(r16776950);
double r16776952 = r16776951 / r16776950;
double r16776953 = r16776949 * r16776952;
return r16776953;
}




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 +o rules:numerics
(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)))