Add prototypes for platform-independent wrappers for isinf().
authorBrian Gaeke <gaeke@uiuc.edu>
Wed, 21 Jul 2004 03:15:14 +0000 (03:15 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Wed, 21 Jul 2004 03:15:14 +0000 (03:15 +0000)
Patch contributed by Bill Wendling.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15055 91177308-0d34-0410-b5e6-96231b3b80d8

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

index f99272282cedc8342c0f6e70c96f3cc3a2bcdc8e..d5209854877e2fbda589385fd658d3660c504506 100644 (file)
@@ -43,6 +43,10 @@ inline bool isPowerOf2(int64_t C, unsigned &getPow) {
 int IsNAN (float f);
 int IsNAN (double d);
 
+// Platform-independent wrappers for the C99 isinf() function.
+int IsInf (float f);
+int IsInf (double d);
+
 } // End llvm namespace
 
 #endif
index f99272282cedc8342c0f6e70c96f3cc3a2bcdc8e..d5209854877e2fbda589385fd658d3660c504506 100644 (file)
@@ -43,6 +43,10 @@ inline bool isPowerOf2(int64_t C, unsigned &getPow) {
 int IsNAN (float f);
 int IsNAN (double d);
 
+// Platform-independent wrappers for the C99 isinf() function.
+int IsInf (float f);
+int IsInf (double d);
+
 } // End llvm namespace
 
 #endif