Fix typo in comments.
authorNick Lewycky <nicholas@mxc.ca>
Mon, 3 Oct 2011 21:30:08 +0000 (21:30 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 3 Oct 2011 21:30:08 +0000 (21:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141032 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/APFloat.cpp

index 1437fd6f81435619f789c707c55d18f3d755e8f3..b32dfeb9566046d14935d9b5ae14da744c7208e4 100644 (file)
@@ -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;