Add back line whose removal somehow crept into prior patch
authorNeil Booth <neil@daikokuya.co.uk>
Thu, 1 Nov 2007 22:51:07 +0000 (22:51 +0000)
committerNeil Booth <neil@daikokuya.co.uk>
Thu, 1 Nov 2007 22:51:07 +0000 (22:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43627 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/APFloat.cpp

index 1e1c5ff9f73532c73153f271afb443997f8b09ee..88d158ae13a94995257bcb3e85db8f423e1cb8f1 100644 (file)
@@ -2199,6 +2199,7 @@ APFloat::convertFromDecimalString(const char *p, roundingMode rounding_mode)
         partCount++;
     } while (p <= D.lastSigDigit);
 
+    category = fcNormal;
     fs = roundSignificandWithExponent(decSignificand, partCount,
                                       D.exponent, rounding_mode);