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