Fix typo in comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141032 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2011-10-03 21:30:08 +00:00
parent f7e4aefd0f
commit 03dd4e8bd3

View File

@ -1192,7 +1192,7 @@ APFloat::normalize(roundingMode rounding_mode,
if (omsb) { if (omsb) {
/* OMSB is numbered from 1. We want to place it in the integer /* 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. */ the exponent. */
exponentChange = omsb - semantics->precision; exponentChange = omsb - semantics->precision;
@ -2125,7 +2125,7 @@ APFloat::convertFromUnsignedParts(const integerPart *src,
dstCount = partCount(); dstCount = partCount();
precision = semantics->precision; 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. */ be that many; extract what we can. */
if (precision <= omsb) { if (precision <= omsb) {
exponent = omsb - 1; exponent = omsb - 1;