Fix typo in comment.
authorOwen Anderson <resistor@mac.com>
Wed, 15 Aug 2012 16:42:53 +0000 (16:42 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 15 Aug 2012 16:42:53 +0000 (16:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161956 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/APFloat.cpp

index 84021de0bf4cf4e5a3223ad4e4f9f029b40b0fb2..b42a168bae770e7d8b20d669b2f7d7f66967ce3f 100644 (file)
@@ -1774,7 +1774,7 @@ APFloat::opStatus APFloat::roundToIntegral(roundingMode rounding_mode) {
   // 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;