Print this page
*** 74,93 ****
cosf(float x)
{
double y, z, w;
float f;
int n, ix, hx, hy;
hx = *((int *)&x);
ix = hx & 0x7fffffff;
y = (double)x;
if (ix <= 0x4016cbe4) { /* |x| < 3*pi/4 */
if (ix <= 0x3f490fdb) { /* |x| < pi/4 */
if (ix <= 0x39800000) { /* |x| <= 2**-12 */
! volatile int i = (int)y;
#ifdef lint
i = i;
#endif
return (1.0f);
}
--- 74,94 ----
cosf(float x)
{
double y, z, w;
float f;
int n, ix, hx, hy;
+ volatile int i;
hx = *((int *)&x);
ix = hx & 0x7fffffff;
y = (double)x;
if (ix <= 0x4016cbe4) { /* |x| < 3*pi/4 */
if (ix <= 0x3f490fdb) { /* |x| < pi/4 */
if (ix <= 0x39800000) { /* |x| <= 2**-12 */
! i = (int)y;
#ifdef lint
i = i;
#endif
return (1.0f);
}