Provide prototypes for IsNAN() wrapper.
authorBrian Gaeke <gaeke@uiuc.edu>
Wed, 23 Jun 2004 00:25:24 +0000 (00:25 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Wed, 23 Jun 2004 00:25:24 +0000 (00:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14339 91177308-0d34-0410-b5e6-96231b3b80d8

include/Support/MathExtras.h
include/llvm/Support/MathExtras.h

index 1540de3fcab090928439876006aadfbf6f410f65..f99272282cedc8342c0f6e70c96f3cc3a2bcdc8e 100644 (file)
@@ -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
index 1540de3fcab090928439876006aadfbf6f410f65..f99272282cedc8342c0f6e70c96f3cc3a2bcdc8e 100644 (file)
@@ -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