Revert previous commit to unbreak world until we figure out the

right way to do it.
This commit is contained in:
archie 2002-09-20 15:43:26 +00:00
parent d4b724dda7
commit 207fb06f80
6 changed files with 7 additions and 10 deletions

View File

@ -33,4 +33,4 @@ __FBSDID("$FreeBSD$");
#include <math.h>
/* bytes for +Infinity on an Alpha (IEEE double format) */
const union __infinity_un __infinity = { { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } };
char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };

View File

@ -8,4 +8,4 @@ __FBSDID("$FreeBSD$");
#include <math.h>
/* bytes for +Infinity on a 387 */
const union __infinity_un __infinity = { { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } };
char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };

View File

@ -8,4 +8,4 @@ __FBSDID("$FreeBSD$");
#include <math.h>
/* bytes for +Infinity on a 387 */
const union __infinity_un __infinity = { { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } };
char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };

View File

@ -33,4 +33,4 @@ __FBSDID("$FreeBSD$");
#include <math.h>
/* bytes for +Infinity on an ia64 (IEEE double format) */
const union __infinity_un __infinity = { { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } };
char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };

View File

@ -11,4 +11,4 @@ __FBSDID("$FreeBSD$");
#include <math.h>
/* bytes for +Infinity on a sparc */
const union __infinity_un __infinity = { { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 } };
char __infinity[] = { 0x7f, (char)0xf0, 0, 0, 0, 0, 0, 0 };

View File

@ -20,11 +20,8 @@
/*
* ANSI/POSIX
*/
extern const union __infinity_un {
unsigned char __uc[8];
double __ud;
} __infinity;
#define HUGE_VAL (__infinity.__ud)
extern char __infinity[];
#define HUGE_VAL (*(double *) __infinity)
/*
* XOPEN/SVID