xref: /netbsd-src/sys/arch/powerpc/include/ieee.h (revision 77bd5abb2954fbd81d925a6c8e9d3740043872d6)
1 /*	$NetBSD: ieee.h,v 1.7 2024/01/23 04:15:54 rin Exp $	*/
2 
3 #ifndef _POWERPC_IEEE_H_
4 #define _POWERPC_IEEE_H_
5 
6 #include <sys/ieee754.h>
7 
8 /*
9  * A NaN is a `signalling NaN' if its QUIETNAN bit is clear in its
10  * high fraction; if the bit is set, it is a `quiet NaN'.
11  */
12 
13 #if 0
14 #define	SNG_QUIETNAN	(1 << 22)
15 #define	DBL_QUIETNAN	(1 << 19)
16 #endif
17 
18 union ldbl_u {
19 	long double	ldblu_ld;
20 	double		ldblu_d[2];
21 };
22 
23 #endif /* !_POWERPC_IEEE_H_ */
24