]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Some more optimization and unused variables removed.
authorUlrich Drepper <drepper@redhat.com>
Thu, 20 Mar 1997 03:46:05 +0000 (03:46 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 20 Mar 1997 03:46:05 +0000 (03:46 +0000)
sysdeps/libm-ieee754/s_modf.c
sysdeps/libm-ieee754/s_modff.c

index 888d4f416db954598c9a2fc46b19677ca3d92f26..7851f675a466122f0a12e9a347f8a829fdb89561 100644 (file)
@@ -60,7 +60,6 @@ static double one = 1.0;
                }
            }
        } else if (j0>51) {             /* no fraction part */
-           u_int32_t high;
            *iptr = x*one;
            /* We must handle NaNs separately.  */
            if (j0 == 0x400 && ((i0 & 0xfffff) | i1))
@@ -70,10 +69,8 @@ static double one = 1.0;
        } else {                        /* fraction part in low x */
            i = ((u_int32_t)(0xffffffff))>>(j0-20);
            if((i1&i)==0) {             /* x is integral */
-               u_int32_t high;
                *iptr = x;
-               GET_HIGH_WORD(high,x);
-               INSERT_WORDS(x,high&0x80000000,0);      /* return +-0 */
+               INSERT_WORDS(x,i0&0x80000000,0);        /* return +-0 */
                return x;
            } else {
                INSERT_WORDS(*iptr,i0,i1&(~i));
index 60f7f1ec29601633526ce29d400da8c998951b37..e6c22b2add13e0f02e945100b9b7af97808f470a 100644 (file)
@@ -55,7 +55,6 @@ static float one = 1.0;
                }
            }
        } else {                        /* no fraction part */
-           u_int32_t ix;
            *iptr = x*one;
            /* We must handle NaNs separately.  */
            if (j0 == 0x80 && (i0 & 0x7fffff))