Added method comments for getZero,getInf.
authorMichael Gottesman <mgottesman@apple.com>
Sat, 1 Jun 2013 00:44:29 +0000 (00:44 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Sat, 1 Jun 2013 00:44:29 +0000 (00:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183064 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/APFloat.h

index 87d230bc182068a4ac23679560dfec577aa4acc9..7381a6d589f26ac7cd6336c062a538d6301b0040 100644 (file)
@@ -203,9 +203,16 @@ public:
   /// \name Convenience "constructors"
   /// @{
 
+  /// Factory for Positive and Negative Zero.
+  ///
+  /// \param Negative True iff the number should be negative.
   static APFloat getZero(const fltSemantics &Sem, bool Negative = false) {
     return APFloat(Sem, fcZero, Negative);
   }
+
+  /// Factory for Positive and Negative Infinity.
+  ///
+  /// \param Negative True iff the number should be negative.
   static APFloat getInf(const fltSemantics &Sem, bool Negative = false) {
     return APFloat(Sem, fcInfinity, Negative);
   }