NetBSD/sys/arch/sh3/include/ieee.h
kleink b2cb7fcd8a Push back the descriptions of NaN formats, and descriptions of the
distinction between signalling NaNs and quiet NaNs back into the
machine-dependent headers; treat the implementation of __nanf in the
same spirit.

IEEE 754 leaves the distinction between signalling NaNs and quiet NANs
to the implementation, and unlike our headers used to suggest they're
not identical in the interpretation of the fraction's MSb; in due
course, make those of hppa, mips, sh3, and sh5 reflect reality.
2005-04-15 22:39:10 +00:00

14 lines
296 B
C

/* $NetBSD: ieee.h,v 1.7 2005/04/15 22:39:11 kleink Exp $ */
#include <sys/ieee754.h>
/*
* A NaN is a `signalling NaN' if its QUIETNAN bit is set in its
* high fraction; if the bit is clear, it is a `quiet NaN'.
*/
#if 0
#define SNG_QUIETNAN (1 << 22)
#define DBL_QUIETNAN (1 << 19)
#endif