summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
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
commitbe7e297b6db4bd68e82d66db9232b73710145fb0 (patch)
tree31eaefb3fc617a9081c35acab3660fa0b6b915f3 /llvm/lib/Support
parent2ec0c41e0150642987c7a12604e3c25ea1033770 (diff)
downloadbcm5719-llvm-be7e297b6db4bd68e82d66db9232b73710145fb0.tar.gz
bcm5719-llvm-be7e297b6db4bd68e82d66db9232b73710145fb0.zip
Fix typo in comment.
llvm-svn: 161956
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/APFloat.cpp2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud