[llvm-commits] [LNT] r161387 - /lnt/trunk/lnt/server/ui/util.py

Michael Gottesman mgottesman at apple.com
Mon Aug 6 20:01:49 PDT 2012


Author: mgottesman
Date: Mon Aug  6 22:01:49 2012
New Revision: 161387

URL: http://llvm.org/viewvc/llvm-project?rev=161387&view=rev
Log:
[LNT] Fixed comment.

Modified:
    lnt/trunk/lnt/server/ui/util.py

Modified: lnt/trunk/lnt/server/ui/util.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/util.py?rev=161387&r1=161386&r2=161387&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/util.py (original)
+++ lnt/trunk/lnt/server/ui/util.py Mon Aug  6 22:01:49 2012
@@ -174,8 +174,9 @@
     def getColor(self):
         v = self.value
 
-        # NaN is the unique floating point number with the property
-        # that NaN != NaN. We use this to detect actual NaNs.
+        # NaN is the unique floating point number x with the property
+        # that x != x. We use this to detect actual NaNs and handle
+        # them appropriately.
         if not isinstance(v, float) or v != v:
             return self.kNANColor
 





More information about the llvm-commits mailing list