projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix mod so it actually works. Fix conversions to
[oota-llvm.git]
/
lib
/
Support
/
IsNAN.cpp
diff --git
a/lib/Support/IsNAN.cpp
b/lib/Support/IsNAN.cpp
index 2ed2b284c7d19623f6a8fb31a170d40d6d37438c..4e6c849fbb4b8ffad09fb22969383342b6b90edd 100644
(file)
--- a/
lib/Support/IsNAN.cpp
+++ b/
lib/Support/IsNAN.cpp
@@
-12,6
+12,7
@@
//===----------------------------------------------------------------------===//
#include "llvm/Config/config.h"
//===----------------------------------------------------------------------===//
#include "llvm/Config/config.h"
+
#if HAVE_ISNAN_IN_MATH_H
# include <math.h>
#elif HAVE_ISNAN_IN_CMATH
#if HAVE_ISNAN_IN_MATH_H
# include <math.h>
#elif HAVE_ISNAN_IN_CMATH
@@
-27,8
+28,6
@@
using std::isnan;
#endif
namespace llvm {
#endif
namespace llvm {
-
-int IsNAN (float f) { return isnan (f); }
-int IsNAN (double d) { return isnan (d); }
-
+ int IsNAN(float f) { return isnan(f); }
+ int IsNAN(double d) { return isnan(d); }
} // end namespace llvm;
} // end namespace llvm;