xref: /freebsd/lib/libc/amd64/gen/infinity.c (revision 22cf89c938886d14f5796fc49f9f020c23ea8eaf)
1 /*
2  * infinity.c
3  */
4 
5 #include <sys/cdefs.h>
6 #include <math.h>
7 
8 /* bytes for +Infinity on a 387 */
9 const union __infinity_un __infinity = { { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } };
10 
11 /* bytes for NaN */
12 const union __nan_un __nan = { { 0, 0, 0xc0, 0xff } };
13