projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add prototypes for platform-independent wrappers for isinf().
[oota-llvm.git]
/
include
/
Support
/
MathExtras.h
diff --git
a/include/Support/MathExtras.h
b/include/Support/MathExtras.h
index f99272282cedc8342c0f6e70c96f3cc3a2bcdc8e..d5209854877e2fbda589385fd658d3660c504506 100644
(file)
--- a/
include/Support/MathExtras.h
+++ b/
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