1 /* sf_c_isnan.c -- float version of s_c_isnan.c.
5 * ====================================================
6 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
8 * Developed at SunPro, a Sun Microsystems, Inc. business.
9 * Permission to use, copy, modify, and distribute this
10 * software is freely granted, provided that this notice
12 * ====================================================
16 * isnanf(x) returns 1 is x is nan, else 0;
18 * isnanf is an extension declared in <math.h>.
32 return FLT_UWORD_IS_NAN(ix
);
35 #ifdef _DOUBLE_IS_32BITS
42 return isnanf((float) x
);
45 #endif /* defined(_DOUBLE_IS_32BITS) */