\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r198815 = x;
double r198816 = cosh(r198815);
double r198817 = y;
double r198818 = sin(r198817);
double r198819 = r198818 / r198817;
double r198820 = r198816 * r198819;
return r198820;
}
double f(double x, double y) {
double r198821 = x;
double r198822 = cosh(r198821);
double r198823 = y;
double r198824 = sin(r198823);
double r198825 = r198824 / r198823;
double r198826 = r198822 * r198825;
return r198826;
}




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