summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-07-21 03:15:14 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-07-21 03:15:14 +0000
commitadcf66fb8f3d23a924ec773da06d839260524fcc (patch)
treedbc6866cc301fa654fde13e011e2cd160e74b882
parent920f4dd59e01c148dd78a09059260b28c744987f (diff)
downloadbcm5719-llvm-adcf66fb8f3d23a924ec773da06d839260524fcc.tar.gz
bcm5719-llvm-adcf66fb8f3d23a924ec773da06d839260524fcc.zip
Add prototypes for platform-independent wrappers for isinf().
Patch contributed by Bill Wendling. llvm-svn: 15055
-rw-r--r--llvm/include/Support/MathExtras.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/Support/MathExtras.h b/llvm/include/Support/MathExtras.h
index f99272282ce..d5209854877 100644
--- a/llvm/include/Support/MathExtras.h
+++ b/llvm/include/Support/MathExtras.h
@@ -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
OpenPOWER on IntegriCloud