blob: 3cbe7dfc1602e0a6a0938958ee8b7fcee7e75fcd (
plain)
1
2
3
4
5
6
7
8
9
|
extern int __isnanf(float f);
extern int __isnan(double f);
extern int __isnanl(long double f);
#define isnan(x) \
(sizeof (x) == sizeof (float) \
? __isnanf (x) \
: sizeof (x) == sizeof (double) \
? __isnan (x) : __isnanl (x))
|