make epicsNAN and epicsINF constants really constant
This commit is contained in:
@ -33,8 +33,8 @@ static float makeINF ( void )
|
||||
#endif
|
||||
|
||||
extern "C" {
|
||||
float epicsNAN = NAN;
|
||||
float epicsINF = INFINITY;
|
||||
const float epicsNAN = NAN;
|
||||
const float epicsINF = INFINITY;
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
@ -20,8 +20,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
LIBCOM_API extern float epicsNAN;
|
||||
LIBCOM_API extern float epicsINF;
|
||||
LIBCOM_API extern const float epicsNAN;
|
||||
LIBCOM_API extern const float epicsINF;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -19,8 +19,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
LIBCOM_API extern float epicsNAN;
|
||||
LIBCOM_API extern float epicsINF;
|
||||
LIBCOM_API extern const float epicsNAN;
|
||||
LIBCOM_API extern const float epicsINF;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -31,8 +31,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
LIBCOM_API extern float epicsNAN;
|
||||
LIBCOM_API extern float epicsINF;
|
||||
LIBCOM_API extern const float epicsNAN;
|
||||
LIBCOM_API extern const float epicsINF;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -18,8 +18,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
LIBCOM_API extern float epicsNAN;
|
||||
LIBCOM_API extern float epicsINF;
|
||||
LIBCOM_API extern const float epicsNAN;
|
||||
LIBCOM_API extern const float epicsINF;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -35,8 +35,8 @@ extern "C" {
|
||||
# define finite(x) isfinite((double)(x))
|
||||
#endif
|
||||
|
||||
LIBCOM_API extern float epicsNAN;
|
||||
LIBCOM_API extern float epicsINF;
|
||||
LIBCOM_API extern const float epicsNAN;
|
||||
LIBCOM_API extern const float epicsINF;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -26,8 +26,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
LIBCOM_API extern float epicsNAN;
|
||||
LIBCOM_API extern float epicsINF;
|
||||
LIBCOM_API extern const float epicsNAN;
|
||||
LIBCOM_API extern const float epicsINF;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -30,8 +30,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
LIBCOM_API extern float epicsNAN;
|
||||
LIBCOM_API extern float epicsINF;
|
||||
LIBCOM_API extern const float epicsNAN;
|
||||
LIBCOM_API extern const float epicsINF;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user