diff options
| author | 2006-04-25 18:15:36 +0000 | |
|---|---|---|
| committer | 2006-04-25 18:15:36 +0000 | |
| commit | 55fa043fb614f21583674600aad40928e3543fb2 (patch) | |
| tree | 925be78444cffad62b1e9f40ecea2984bbe18734 /lib/libm/src/s_modff.c | |
| parent | enable udcf, why not (diff) | |
| download | wireguard-openbsd-55fa043fb614f21583674600aad40928e3543fb2.tar.xz wireguard-openbsd-55fa043fb614f21583674600aad40928e3543fb2.zip | |
Avoid shadowing of external symbols by local variables; whoever
thought up the names of the bessel functions deserves a beating.
ok deraadt@
Diffstat (limited to 'lib/libm/src/s_modff.c')
| -rw-r--r-- | lib/libm/src/s_modff.c | 10 |
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; |
