1 #ifndef __ISNORMAL_H__
2 #define __ISNORMAL_H__
4 /*
5 * Fix for missing std::isnormal with SOLARIS8/GCC3.2
6 */
8 #if defined (SOLARIS_2_8) && __GNUC__ == 3 && __GNUC_MINOR__ == 2
10 #include <ieeefp.h>
11 #define isnormal(x) (fpclass(x) >= FP_NZERO)
13 #else
15 using std::isnormal;
17 #endif
19 #endif /* __ISNORMAL_H__ */