4 * IEEE-compatible infinityl.c -- public domain.
5 * For platforms where long double == double.
10 #include <machine/endian.h>
12 #if LDBL_MANT_DIG != DBL_MANT_DIG
13 #error double / long double mismatch
16 const union __long_double_u __infinityl
=
17 #if BYTE_ORDER == BIG_ENDIAN
18 { { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 } };
20 { { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } };