summaryrefslogtreecommitdiff
path: root/lib/libc/arch/m68k/gen/infinityl.c
blob: 775388c04ad00c8f6aff85c2468fba710027c576 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*	$NetBSD: infinityl.c,v 1.2 2005/06/12 05:21:26 lukem Exp $	*/

/*
 * IEEE-compatible infinityl.c for Motorola 68k 80-bit format -- public domain.
 * Note that the representation includes 16 bits of padding between exponent
 * and mantissa.
 */

#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: infinityl.c,v 1.2 2005/06/12 05:21:26 lukem Exp $");
#endif /* LIBC_SCCS and not lint */

#include <math.h>

const union __long_double_u __infinityl =
	{ { 0x7f, 0xff, 0, 0, 0x80, 0, 0, 0, 0, 0, 0, 0 } };