diff options
Diffstat (limited to 'libstdc++-v3/include/bits/specfun_util.h')
-rw-r--r-- | libstdc++-v3/include/bits/specfun_util.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libstdc++-v3/include/bits/specfun_util.h b/libstdc++-v3/include/bits/specfun_util.h index 034c90777a4..593897bb35b 100644 --- a/libstdc++-v3/include/bits/specfun_util.h +++ b/libstdc++-v3/include/bits/specfun_util.h @@ -49,6 +49,12 @@ # if __has_include(<quadmath.h>) # include <quadmath.h> # define _GLIBCXX_HAVE_FLOAT128_MATH 1 +# if _GLIBCXX_USE_C99_MATH && !_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC +namespace std +{ + bool isnan(__float128); +} +# endif # endif #endif // __STRICT_ANSI__ && _GLIBCXX_USE_FLOAT128 @@ -89,6 +95,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION /** * Create a NaN. + * This will be overloaded for complex and vector types. */ template<typename _Tp> struct __make_NaN |