diff options
Diffstat (limited to 'lib/libc/arch/mvme88k/gen/modf.c')
-rw-r--r-- | lib/libc/arch/mvme88k/gen/modf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/arch/mvme88k/gen/modf.c b/lib/libc/arch/mvme88k/gen/modf.c index ea2be134ba9..e90dcdb59da 100644 --- a/lib/libc/arch/mvme88k/gen/modf.c +++ b/lib/libc/arch/mvme88k/gen/modf.c @@ -39,7 +39,7 @@ static char rcsid[] = "$NetBSD: s_modf.c,v 1.8 1995/05/10 20:47:55 jtc Exp $"; /* * from: @(#)fdlibm.h 5.1 93/09/24 - * $Id: modf.c,v 1.1 1997/03/25 17:07:05 rahnds Exp $ + * $Id: modf.c,v 1.2 1997/07/23 20:55:26 kstailey Exp $ */ #ifndef _MATH_PRIVATE_H_ @@ -272,7 +272,7 @@ static double one = 1.0; j0 = ((i0>>20)&0x7ff)-0x3ff; /* exponent of x */ if(j0<20) { /* integer part in high x */ if(j0<0) { /* |x|<1 */ - INSERT_WORDS(*iptr,i0&0x80000000,0); /* *iptr = +-0 */ + INSERT_WORDS(*iptr,i0&0x80000000,0); /* *iptr = +-0 */ return x; } else { i = (0x000fffff)>>j0; @@ -296,13 +296,13 @@ 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; + u_int32_t high; *iptr = x; GET_HIGH_WORD(high,x); INSERT_WORDS(x,high&0x80000000,0); /* return +-0 */ return x; } else { - INSERT_WORDS(*iptr,i0,i1&(~i)); + INSERT_WORDS(*iptr,i0,i1&(~i)); return x - *iptr; } } |