summaryrefslogtreecommitdiffstats
path: root/lib/libm/src/s_modff.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libm/src/s_modff.c')
-rw-r--r--lib/libm/src/s_modff.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libm/src/s_modff.c b/lib/libm/src/s_modff.c
index 1da89b3e515..0ede078565d 100644
--- a/lib/libm/src/s_modff.c
+++ b/lib/libm/src/s_modff.c
@@ -25,16 +25,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;