diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-08-25 15:20:16 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-08-25 15:20:16 +0000 |
commit | 186d6c21174c9b1e1802371a5eca0c7254ecace1 (patch) | |
tree | 62b9954296b2797e018d0eccd759b6fe261f8a07 /lib/libc/arch/powerpc | |
parent | 9c36b562cdf3b5422a9e7a495666e182c47125c9 (diff) |
Fix the __infinity constant on powerpc.
from a7r@andern.org
Diffstat (limited to 'lib/libc/arch/powerpc')
-rw-r--r-- | lib/libc/arch/powerpc/gen/infinity.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/arch/powerpc/gen/infinity.c b/lib/libc/arch/powerpc/gen/infinity.c index b38cc2812fc..567603f4085 100644 --- a/lib/libc/arch/powerpc/gen/infinity.c +++ b/lib/libc/arch/powerpc/gen/infinity.c @@ -1,12 +1,12 @@ -/* $OpenBSD: infinity.c,v 1.2 2000/03/01 17:31:22 todd Exp $ */ +/* $OpenBSD: infinity.c,v 1.3 2001/08/25 15:20:15 drahn Exp $ */ #ifndef lint -static char rcsid[] = "$OpenBSD: infinity.c,v 1.2 2000/03/01 17:31:22 todd Exp $"; +static char rcsid[] = "$OpenBSD: infinity.c,v 1.3 2001/08/25 15:20:15 drahn Exp $"; #endif /* not lint */ /* infinity.c */ #include <math.h> -/* bytes for +Infinity on a 387 */ -char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f }; +/* bytes for +Infinity on a PowerPC */ +char __infinity[] = { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 }; |