Revert previous commit to unbreak world until we figure out the
right way to do it.
This commit is contained in:
parent
d4b724dda7
commit
207fb06f80
@ -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 };
|
||||
|
@ -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 };
|
||||
|
@ -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 };
|
||||
|
@ -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 };
|
||||
|
@ -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 };
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user