aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include/generic-netbsd/powerpc/ieee.h
blob: 834dcca8de24f6c6741baebf23d59933e1a3c97c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*	$NetBSD: ieee.h,v 1.6 2014/10/22 10:32:50 joerg Exp $	*/

#include <sys/ieee754.h>

/*
 * A NaN is a `signalling NaN' if its QUIETNAN bit is clear in its
 * high fraction; if the bit is set, it is a `quiet NaN'.
 */

#if 0
#define	SNG_QUIETNAN	(1 << 22)
#define	DBL_QUIETNAN	(1 << 19)
#endif

union ldbl_u {
	long double	ldblu_ld;
	double		ldblu_d[2];
};