summaryrefslogtreecommitdiff
path: root/lib/Support/APFloat.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2012-08-15 16:42:53 +0000
committerOwen Anderson <resistor@mac.com>2012-08-15 16:42:53 +0000
commit7c28978618cbbe472fe4415e56350a3461390658 (patch)
tree9e14aa08810d7e5cd049add5c74e4a3addf23cd7 /lib/Support/APFloat.cpp
parent65bf80e2b7d3c839331be63cdd28a8d101936bca (diff)
downloadllvm-7c28978618cbbe472fe4415e56350a3461390658.tar.gz
llvm-7c28978618cbbe472fe4415e56350a3461390658.tar.bz2
llvm-7c28978618cbbe472fe4415e56350a3461390658.tar.xz
Fix typo in comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161956 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/APFloat.cpp')
-rw-r--r--lib/Support/APFloat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/APFloat.cpp b/lib/Support/APFloat.cpp
index 84021de0bf..b42a168bae 100644
--- a/lib/Support/APFloat.cpp
+++ b/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;