aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/APFloat.cpp
AgeCommit message (Expand)Author
2008-02-29Add a method to APFloat to convert directly from APInt.Dan Gohman
2008-02-11Added "Profile" method to APFloat for use with FoldingSet.Ted Kremenek
2008-01-31Chris' change to print an approximation to long doublesDale Johannesen
2008-01-29Remove top-level const qualifiers from casts, avoiding associatedDan Gohman
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner
2007-12-08proper #include order.Chris Lattner
2007-12-05Prior commit updated wrong if, apologies.Neil Booth
2007-12-05Handle zero correctly.Neil Booth
2007-12-05Handle 0 correctly in string->APFloat conversion.Dale Johannesen
2007-11-17Fix denormal check in float->APInt conversion.Dale Johannesen
2007-11-02Remove some unnecessary C-style statics.Neil Booth
2007-11-01Add back line whose removal somehow crept into prior patchNeil Booth
2007-11-01When converting to integer, do bit manipulations in the destinationNeil Booth
2007-10-25Clarified operator precedence.Hartmut Kaiser
2007-10-15Fast-track obviously over-large and over-small exponents during decimal->Neil Booth
2007-10-14Consolidate logic for creating NaNs. Silence compiler warning.Neil Booth
2007-10-14Whether arithmetic is supported is a property of the semantics. Make itNeil Booth
2007-10-14Separate out parsing of decimal number. Use this to only allocateNeil Booth
2007-10-13If the power of 5 is exact, and the reciprocal exact, the error is zero not o...Neil Booth
2007-10-12Remove duplicate comment.Neil Booth
2007-10-12Implement correctly-rounded decimal->binary conversion, i.e. conversionNeil Booth
2007-10-12Remove a field that was never used.Neil Booth
2007-10-12If we're trying to be arbitrary precision, unsigned char clearly won't cut it...Neil Booth
2007-10-11Next PPC long double bits. First cut at constants.Dale Johannesen
2007-10-08Use APInt::tcExtract. It's cleaner, and works :)Neil Booth
2007-10-07Add back convertFromSignExtendedInteger.Neil Booth
2007-10-07Now that convertFromUnsignedParts has a sane, constant interface,Neil Booth
2007-10-07Reimplement convertFromUnsignedInteger so it is passed a const bignum.Neil Booth
2007-10-07convertFromInteger, as originally written, expected sign-extendedNeil Booth
2007-10-07combineLostFractions does not need to be a member functionNeil Booth
2007-10-06Cleaner, more general exponent output.Neil Booth
2007-10-06silence warnings in no-assert build.Chris Lattner
2007-10-06Generalize tcFullMultiply so that the operands can be of differingNeil Booth
2007-10-03Add APFloat -> hexadecimal string conversion, as per %a and %A in C99.Neil Booth
2007-10-03Tweak RoundAwayFromZero the bit number below which is truncated, and makeNeil Booth
2007-09-30Simplify and fix signed int -> FP conversions.Dale Johannesen
2007-09-26Whitespace and compiler warning cleanup.Neil Booth
2007-09-25Make APFloat->int conversions deterministic even inDale Johannesen
2007-09-25Fix long double<->shorter FP type conversionsDale Johannesen
2007-09-22Handle storage complications of float->float conversions.Neil Booth
2007-09-21Change APFloat::convertFromInteger to take the incomingDale Johannesen
2007-09-20Fix PR 1688. See comments there.Dale Johannesen
2007-09-14Remove spurious consts. This fixes warnings with compilers thatDan Gohman
2007-09-12Compensate for partCount change in Bogus definitionDale Johannesen
2007-09-11Add APInt interfaces to APFloat (allows directlyDale Johannesen
2007-09-05Fix mod so it actually works. Fix conversions toDale Johannesen
2007-08-31Oops, should be part of 41664; won't work very well without this piece.Dale Johannesen
2007-08-31Enhance APFloat to retain bits of NaNs (fixes oggenc).Dale Johannesen
2007-08-30Change LegalFPImmediates to use APFloat.Dale Johannesen
2007-08-24Poison APFloat::operator==. Replace existing uses with bitwiseIsEqual.Dale Johannesen