[llvm-commits] [llvm] r42220 - /llvm/trunk/lib/Support/APFloat.cpp
Chris Lattner
clattner at apple.com
Fri Sep 21 22:21:21 PDT 2007
On Sep 21, 2007, at 7:56 PM, Neil Booth wrote:
> + } else if (newPartCount < oldPartCount) {
> + /* Capture any lost fraction through truncation of parts so we
> get
> + correct rounding whilst normalizing. */
> + lostFraction = lostFractionThroughTruncation
> + (significandParts(), oldPartCount, toSemantics.precision);
> + if (newPartCount == 1)
> + {
> + integerPart newPart = significandParts()[0];
> + freeSignificand();
> + significand.part = newPart;
> + }
Hi Neil,
Please watch out for tabs :)
-Chris
More information about the llvm-commits
mailing list