diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-06-23 00:25:24 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-06-23 00:25:24 +0000 |
commit | 7764f4b2e0e550dc23f3c536f236f9abf86879dc (patch) | |
tree | 384cccf8e11f29c4e730631ae1d5c39f53265724 /include/llvm/Support/MathExtras.h | |
parent | 30135b2c816718e63630b9b42723883fc58f48fe (diff) |
Provide prototypes for IsNAN() wrapper.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14339 91177308-0d34-0410-b5e6-96231b3b80d8
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 |