]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - lib/libc/i386/gen/infinity.c
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / lib / libc / i386 / gen / infinity.c
1 /*
2  * infinity.c
3  */
4
5 #include <sys/cdefs.h>
6 __FBSDID("$FreeBSD$");
7
8 #include <math.h>
9
10 /* bytes for +Infinity on a 387 */
11 const union __infinity_un __infinity = { { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } };
12
13 /* bytes for NaN */
14 const union __nan_un __nan = { { 0, 0, 0xc0, 0xff } };