Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libm/src/s_modff.c,v retrieving revision 1.7 retrieving revision 1.7.30.1 diff -u -p -r1.7 -r1.7.30.1 --- src/lib/libm/src/s_modff.c 2002/05/26 22:01:57 1.7 +++ src/lib/libm/src/s_modff.c 2008/05/18 12:30:39 1.7.30.1 @@ -15,7 +15,7 @@ #include #if defined(LIBM_SCCS) && !defined(lint) -__RCSID("$NetBSD: s_modff.c,v 1.7 2002/05/26 22:01:57 wiz Exp $"); +__RCSID("$NetBSD: s_modff.c,v 1.7.30.1 2008/05/18 12:30:39 yamt Exp $"); #endif #include "math.h" @@ -26,16 +26,16 @@ static const float one = 1.0; float modff(float x, float *iptr) { - int32_t i0,j0; + int32_t i0,jj0; u_int32_t i; GET_FLOAT_WORD(i0,x); - j0 = ((i0>>23)&0xff)-0x7f; /* exponent of x */ - if(j0<23) { /* integer part in x */ - if(j0<0) { /* |x|<1 */ + jj0 = ((i0>>23)&0xff)-0x7f; /* exponent of x */ + if(jj0<23) { /* integer part in x */ + if(jj0<0) { /* |x|<1 */ SET_FLOAT_WORD(*iptr,i0&0x80000000); /* *iptr = +-0 */ return x; } else { - i = (0x007fffff)>>j0; + i = (0x007fffff)>>jj0; if((i0&i)==0) { /* x is integral */ u_int32_t ix; *iptr = x;