Displaying 2 results from an estimated 2 matches for "freesignificand".
2007 Sep 22
0
[LLVMdev] APFloat storage complications
...+ if (newPartCount > oldPartCount) {
integerPart *newParts;
newParts = new integerPart[newPartCount];
APInt::tcSet(newParts, 0, newPartCount);
- APInt::tcAssign(newParts, significandParts(), partCount());
+ APInt::tcAssign(newParts, significandParts(), oldPartCount);
freeSignificand();
significand.parts = newParts;
- } else if (newPartCount==1 && newPartCount < partCount()) {
- integerPart newPart;
-
- APInt::tcSet(&newPart, 0, newPartCount);
- APInt::tcAssign(&newPart, significandParts(), partCount());
- freeSignificand();
- significand...
2007 Aug 18
1
[LLVMdev] Soft floating point support
This patch supplies software IEEE floating point support.
The comment from the patch reproduced below says all there is
to say.
This patch contains the prior "cleanup" patch; please don't apply
that one.
Please let me know of any bugs. It is tested reasonably well,
but until I put together random tests it's hard to have 100%
confidence.
Neil.
/* A self-contained host- and