* Fix the example for configuring /etc/ttys according to the original
[dragonfly/vkernel-mp.git] / lib / libc / gen / infinityf.c
blob38ed38aa4c1627b2be873b24885faae484152cbe
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 23: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