lib/libc/i386/gen/isnanl.c
int
__isnanl(long double x)
{
	union ieee_ext_u u;

	u.extu_ld = x;

	return (u.extu_ext.ext_exp == EXT_EXP_INFNAN &&
	    u.extu_ext.ext_int == 1 &&
	    (u.extu_ext.ext_frach != 0 || u.extu_ext.ext_fracl != 0));
}
/*
 * 7.12.3.4 isnan - test for a NaN
 *          IEEE 754 compatible 80-bit extended-precision Intel 386 version
 */
7.12.3.4 isnan - test for a NaN
IEEE 754 compatible 80-bit extended-precision Intel 386 version
7 . 12 . 3 . 4 isnan - test for a NaN IEEE 754 compatible 80 - bit extended - precision Intel 386 version
int
__isnanl(long double x)
{
	union ieee_ext_u u;
	u.extu_ld = x;
	return (u.extu_ext.ext_exp == EXT_EXP_INFNAN &&
	    u.extu_ext.ext_int == 1 &&
	    (u.extu_ext.ext_frach != 0 || u.extu_ext.ext_fracl != 0));
}
int __isnanl ( long double x ) { union ieee_ext_u u ; u . extu_ld = x ; return ( u . extu_ext . ext_exp == EXT_EXP_INFNAN && u . extu_ext . ext_int == 1 && ( u . extu_ext . ext_frach != 0 || u . extu_ext . ext_fracl != 0 ) ) ; }
7.12.3.4 isnan - test for a NaN
          IEEE 754 compatible 80-bit extended-precision Intel 386 version
7 . 12 . 3 . 4 isnan - test for a NaN IEEE 754 compatible 80 - bit extended - precision Intel 386 version