[llvm] r184687 - [APFloat] Removed out of date comment from isNormal().

Michael Gottesman mgottesman at apple.com
Sun Jun 23 21:19:37 PDT 2013


Author: mgottesman
Date: Sun Jun 23 23:19:37 2013
New Revision: 184687

URL: http://llvm.org/viewvc/llvm-project?rev=184687&view=rev
Log:
[APFloat] Removed out of date comment from isNormal().

I already finished the isIEEENormal => isNormal transition. So isNormal is now
IEEE-754R compliant.

Modified:
    llvm/trunk/include/llvm/ADT/APFloat.h

Modified: llvm/trunk/include/llvm/ADT/APFloat.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/APFloat.h?rev=184687&r1=184686&r2=184687&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/APFloat.h (original)
+++ llvm/trunk/include/llvm/ADT/APFloat.h Sun Jun 23 23:19:37 2013
@@ -361,9 +361,6 @@ public:
   ///
   /// This implies that the current value of the float is not zero, subnormal,
   /// infinite, or NaN following the definition of normality from IEEE-754R.
-  ///
-  /// The current implementation of isNormal() differs from this by treating
-  /// subnormal values as normal values.
   bool isNormal() const { return !isDenormal() && isFiniteNonZero(); }
 
   /// Returns true if and only if the current value is zero, subnormal, or





More information about the llvm-commits mailing list