Fix typo in comment.

llvm-svn: 161956
This commit is contained in:
Owen Anderson 2012-08-15 16:42:53 +00:00
parent 2ec0c41e01
commit be7e297b6d
1 changed files with 1 additions and 1 deletions

View 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;