sysconf.3: Document _SC_MQ_{OPEN, PRIO}_MAX.
[dragonfly.git] / lib / libc / gen / infinityf.c
blobf95f3f9ed33813be48d24f53173bc214f12dbd68
1 /* $NetBSD: infinityf_ieee754.c,v 1.2 2005/06/12 05:21:27 lukem Exp $ */
2 /* $DragonFly: src/lib/libc/gen/infinityf.c,v 1.1 2005/07/26 21:15:19 joerg Exp $ */
4 /*
5 * IEEE-compatible infinityf.c -- public domain.
6 */
8 #include <sys/endian.h>
9 #include <math.h>
11 const union __float_u __infinityf =
12 #if BYTE_ORDER == BIG_ENDIAN
13 { { 0x7f, 0x80, 0, 0 } };
14 #else
15 { { 0, 0, 0x80, 0x7f } };
16 #endif