From be7e297b6db4bd68e82d66db9232b73710145fb0 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Wed, 15 Aug 2012 16:42:53 +0000 Subject: Fix typo in comment. llvm-svn: 161956 --- llvm/lib/Support/APFloat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Support') diff --git a/llvm/lib/Support/APFloat.cpp b/llvm/lib/Support/APFloat.cpp index 84021de0bf4..b42a168bae7 100644 --- a/llvm/lib/Support/APFloat.cpp +++ b/llvm/lib/Support/APFloat.cpp @@ -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; -- cgit v1.2.3