diff options
Diffstat (limited to 'include/llvm/Support/MathExtras.h')
-rw-r--r-- | include/llvm/Support/MathExtras.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Support/MathExtras.h b/include/llvm/Support/MathExtras.h index 1540de3fca..f99272282c 100644 --- a/include/llvm/Support/MathExtras.h +++ b/include/llvm/Support/MathExtras.h @@ -39,6 +39,10 @@ inline bool isPowerOf2(int64_t C, unsigned &getPow) { return false; } +// Platform-independent wrappers for the C99 isnan() function. +int IsNAN (float f); +int IsNAN (double d); + } // End llvm namespace #endif |