aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APFloat.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-10-03 21:30:08 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-10-03 21:30:08 +0000
commitf66daac2f582eec64df9894899753d0d4cbfb2db (patch)
treead9f8cf88e90adc2b337b533b6f64345dc94c6d6 /llvm/lib/Support/APFloat.cpp
parent374ee194f252ee0e0d4f5264f8ea6041d518cf64 (diff)
downloadllvm-f66daac2f582eec64df9894899753d0d4cbfb2db.zip
llvm-f66daac2f582eec64df9894899753d0d4cbfb2db.tar.gz
llvm-f66daac2f582eec64df9894899753d0d4cbfb2db.tar.bz2
Fix typo in comments.
llvm-svn: 141032
Diffstat (limited to 'llvm/lib/Support/APFloat.cpp')
-rw-r--r--llvm/lib/Support/APFloat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/APFloat.cpp b/llvm/lib/Support/APFloat.cpp
index 1437fd6..b32dfeb 100644
--- a/llvm/lib/Support/APFloat.cpp
+++ b/llvm/lib/Support/APFloat.cpp
@@ -1192,7 +1192,7 @@ APFloat::normalize(roundingMode rounding_mode,
if (omsb) {
/* OMSB is numbered from 1. We want to place it in the integer
- bit numbered PRECISON if possible, with a compensating change in
+ bit numbered PRECISION if possible, with a compensating change in
the exponent. */
exponentChange = omsb - semantics->precision;
@@ -2125,7 +2125,7 @@ APFloat::convertFromUnsignedParts(const integerPart *src,
dstCount = partCount();
precision = semantics->precision;
- /* We want the most significant PRECISON bits of SRC. There may not
+ /* We want the most significant PRECISION bits of SRC. There may not
be that many; extract what we can. */
if (precision <= omsb) {
exponent = omsb - 1;