mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-16 23:19:37 +00:00
Fix typo in comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161956 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
65bf80e2b7
commit
7c28978618
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user