Skip to content

Commit

Permalink
add qualifiers for FPEnvironment in C99
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-clemente committed Jun 15, 2013
1 parent 3ea52f8 commit 578cab3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Foundation/include/Poco/FPEnvironment_C99.h
Expand Up @@ -95,37 +95,37 @@ class FPEnvironmentImpl
//
inline bool FPEnvironmentImpl::isInfiniteImpl(float value)
{
return isinf(value) != 0;
return std::isinf(value) != 0;
}


inline bool FPEnvironmentImpl::isInfiniteImpl(double value)
{
return isinf(value) != 0;
return std::isinf(value) != 0;
}


inline bool FPEnvironmentImpl::isInfiniteImpl(long double value)
{
return isinf((double) value) != 0;
return std::isinf((double) value) != 0;
}


inline bool FPEnvironmentImpl::isNaNImpl(float value)
{
return isnan(value) != 0;
return std::isnan(value) != 0;
}


inline bool FPEnvironmentImpl::isNaNImpl(double value)
{
return isnan(value) != 0;
return std::isnan(value) != 0;
}


inline bool FPEnvironmentImpl::isNaNImpl(long double value)
{
return isnan((double) value) != 0;
return std::isnan((double) value) != 0;
}


Expand Down

0 comments on commit 578cab3

Please sign in to comment.