[llvm-commits] CVS: llvm/include/Support/MathExtras.h

Brian Gaeke gaeke at cs.uiuc.edu
Tue Jun 22 19:33:02 PDT 2004


Changes in directory llvm/include/Support:

MathExtras.h updated: 1.11 -> 1.12

---
Log message:

Provide prototypes for IsNAN() wrapper.


---
Diffs of the changes:  (+4 -0)

Index: llvm/include/Support/MathExtras.h
diff -u llvm/include/Support/MathExtras.h:1.11 llvm/include/Support/MathExtras.h:1.12
--- llvm/include/Support/MathExtras.h:1.11	Tue Feb 24 19:53:45 2004
+++ llvm/include/Support/MathExtras.h	Tue Jun 22 19:25:24 2004
@@ -39,6 +39,10 @@
   return false;
 }
 
+// Platform-independent wrappers for the C99 isnan() function.
+int IsNAN (float f);
+int IsNAN (double d);
+
 } // End llvm namespace
 
 #endif





More information about the llvm-commits mailing list