diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-07-23 20:55:32 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-07-23 20:55:32 +0000 |
commit | e9d332cb6af71b2d65cdb6004debdb399d774993 (patch) | |
tree | 51948dc5b09e612265eb4a6eac4f727f428f9b9f /lib/libc/arch/powerpc | |
parent | 48f72858c6c937f2a793a9209ea0bc1c2ede6697 (diff) |
tabify
Diffstat (limited to 'lib/libc/arch/powerpc')
-rw-r--r-- | lib/libc/arch/powerpc/gen/frexp.c | 12 | ||||
-rw-r--r-- | lib/libc/arch/powerpc/gen/modf.c | 8 | ||||
-rw-r--r-- | lib/libc/arch/powerpc/sys/syscall.S | 4 |
3 files changed, 12 insertions, 12 deletions
diff --git a/lib/libc/arch/powerpc/gen/frexp.c b/lib/libc/arch/powerpc/gen/frexp.c index 213524cdd68..2297cf7dbb2 100644 --- a/lib/libc/arch/powerpc/gen/frexp.c +++ b/lib/libc/arch/powerpc/gen/frexp.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: frexp.c,v 1.1 1997/01/17 21:39:20 rahnds Exp $"; +static char rcsid[] = "$OpenBSD: frexp.c,v 1.2 1997/07/23 20:55:27 kstailey Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -44,14 +44,14 @@ frexp(value, eptr) int *eptr; { union { - double v; - struct { - u_int u_sign : 1; + double v; + struct { + u_int u_sign : 1; u_int u_exp : 11; u_int u_mant1 : 20; u_int u_mant2 : 32; - } s; - } u; + } s; + } u; if (value) { u.v = value; diff --git a/lib/libc/arch/powerpc/gen/modf.c b/lib/libc/arch/powerpc/gen/modf.c index 396cf912540..0366bf9f565 100644 --- a/lib/libc/arch/powerpc/gen/modf.c +++ b/lib/libc/arch/powerpc/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.2 1997/01/02 03:12:07 rahnds Exp $ + * $Id: modf.c,v 1.3 1997/07/23 20:55:28 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; } } diff --git a/lib/libc/arch/powerpc/sys/syscall.S b/lib/libc/arch/powerpc/sys/syscall.S index 4d0ba95ff30..bfdb00c7092 100644 --- a/lib/libc/arch/powerpc/sys/syscall.S +++ b/lib/libc/arch/powerpc/sys/syscall.S @@ -2,8 +2,8 @@ * COPYRIGHT */ #if defined(SYSLIBC_SCCS) - .text - .asciz "$OpenBSD: syscall.S,v 1.1 1996/12/21 20:42:24 rahnds Exp $" + .text + .asciz "$OpenBSD: syscall.S,v 1.2 1997/07/23 20:55:29 kstailey Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" |