search for: oldpartcount

Displaying 1 result from an estimated 1 matches for "oldpartcount".

2007 Sep 22
0
[LLVMdev] APFloat storage complications
...======= --- lib/Support/APFloat.cpp (revision 42219) +++ lib/Support/APFloat.cpp (working copy) @@ -1318,39 +1318,44 @@ APFloat::convert(const fltSemantics &toSemantics, roundingMode rounding_mode) { - unsigned int newPartCount; + lostFraction lostFraction; + unsigned int newPartCount, oldPartCount; opStatus fs; - + + lostFraction = lfExactlyZero; newPartCount = partCountForBits(toSemantics.precision + 1); + oldPartCount = partCount(); - /* If our new form is wider, re-allocate our bit pattern into wider - storage. - If we're narrowing from multiple words to 1 words,...