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