Revert previous commit to unbreak world until we figure out the

right way to do it.
This commit is contained in:
Archie Cobbs 2002-09-20 15:43:26 +00:00
parent 351267c186
commit ae8a4b2f36
6 changed files with 7 additions and 10 deletions

View File

@ -33,4 +33,4 @@ __FBSDID("$FreeBSD$");
#include <math.h> #include <math.h>
/* bytes for +Infinity on an Alpha (IEEE double format) */ /* 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> #include <math.h>
/* bytes for +Infinity on a 387 */ /* 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> #include <math.h>
/* bytes for +Infinity on a 387 */ /* 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> #include <math.h>
/* bytes for +Infinity on an ia64 (IEEE double format) */ /* 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> #include <math.h>
/* bytes for +Infinity on a sparc */ /* 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 * ANSI/POSIX
*/ */
extern const union __infinity_un { extern char __infinity[];
unsigned char __uc[8]; #define HUGE_VAL (*(double *) __infinity)
double __ud;
} __infinity;
#define HUGE_VAL (__infinity.__ud)
/* /*
* XOPEN/SVID * XOPEN/SVID