summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-06-23 00:25:24 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-06-23 00:25:24 +0000
commita9a969676733d47728ff66eeeba5afbebb16393d (patch)
treea7a1f687f425d99f4b9f9287099e436e0002ea10 /llvm
parentef178a43dd2658cac6a0ee40b1de058afd8f5abb (diff)
downloadbcm5719-llvm-a9a969676733d47728ff66eeeba5afbebb16393d.tar.gz
bcm5719-llvm-a9a969676733d47728ff66eeeba5afbebb16393d.zip
Provide prototypes for IsNAN() wrapper.
llvm-svn: 14339
Diffstat (limited to 'llvm')
-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 1540de3fcab..f99272282ce 100644
--- a/llvm/include/Support/MathExtras.h
+++ b/llvm/include/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
OpenPOWER on IntegriCloud