xref: /minix3/lib/libc/arch/vax/gen/infinity.c (revision 2fe8fb192fe7e8720e3e7a77f928da545e872a6a)
1*2fe8fb19SBen Gras /*	$NetBSD: infinity.c,v 1.8 2002/02/19 21:50:01 thorpej Exp $	*/
2*2fe8fb19SBen Gras 
3*2fe8fb19SBen Gras #include <sys/cdefs.h>
4*2fe8fb19SBen Gras #if defined(LIBC_SCCS) && !defined(lint)
5*2fe8fb19SBen Gras __RCSID("$NetBSD: infinity.c,v 1.8 2002/02/19 21:50:01 thorpej Exp $");
6*2fe8fb19SBen Gras #endif /* LIBC_SCCS and not lint */
7*2fe8fb19SBen Gras /*
8*2fe8fb19SBen Gras  * XXX - This is not correct, but what can we do about it???
9*2fe8fb19SBen Gras  */
10*2fe8fb19SBen Gras 
11*2fe8fb19SBen Gras /* infinity.c */
12*2fe8fb19SBen Gras 
13*2fe8fb19SBen Gras #include <math.h>
14*2fe8fb19SBen Gras 
15*2fe8fb19SBen Gras /* The highest D float on a vax. */
16*2fe8fb19SBen Gras const union __double_u __infinity =
17*2fe8fb19SBen Gras 	{ { 0xff, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff } };
18