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