| * software is freely granted, provided that this notice | |
| * Input k indicates whether tan (if k=1) or | |
| * 1. Since tan(-x) = -tan(x), we need only to consider positive x. | |
| * | |
| * | x | | |
| * | |
| * Therefore, for better accuracy in computing tan(x+y), let | |
| static const double | |
| static double | |
| int32_t ix,hx; | |
| uint32_t low; | |
| else { /* if allow error up to 2 ulp, |