[llvm-commits] [llvm] r161956 - /llvm/trunk/lib/Support/APFloat.cpp

Owen Anderson resistor at mac.com
Wed Aug 15 09:42:53 PDT 2012


Author: resistor
Date: Wed Aug 15 11:42:53 2012
New Revision: 161956

URL: http://llvm.org/viewvc/llvm-project?rev=161956&view=rev
Log:
Fix typo in comment.

Modified:
    llvm/trunk/lib/Support/APFloat.cpp

Modified: llvm/trunk/lib/Support/APFloat.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/APFloat.cpp?rev=161956&r1=161955&r2=161956&view=diff
==============================================================================
--- llvm/trunk/lib/Support/APFloat.cpp (original)
+++ llvm/trunk/lib/Support/APFloat.cpp Wed Aug 15 11:42:53 2012
@@ -1774,7 +1774,7 @@
   // precision of our format, and then subtract it back off again.  The choice
   // of rounding modes for the addition/subtraction determines the rounding mode
   // for our integral rounding as well.
-  // NOTE: When the input value is negative, we do subtractation followed by
+  // NOTE: When the input value is negative, we do subtraction followed by
   // addition instead.
   APInt IntegerConstant(NextPowerOf2(semanticsPrecision(*semantics)), 1);
   IntegerConstant <<= semanticsPrecision(*semantics)-1;





More information about the llvm-commits mailing list