aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/APFloat.cpp
AgeCommit message (Expand)Author
2012-09-26APFloat::roundToIntegral: Special values don't keep the exponent value up to ...Benjamin Kramer
2012-08-24Fix undefined behavior (signed integer overflow) when Clang parses a hexfloat...Richard Smith
2012-08-15Fix another roundToIntegral bug where very large values could become infinity...Owen Anderson
2012-08-15Fix typo in comment.Owen Anderson
2012-08-15Fix a problem with APFloat::roundToIntegral where it would return incorrect r...Owen Anderson
2012-08-14Fix the construction of the magic constant for roundToIntegral to be 64-bit s...Owen Anderson
2012-08-13Add a roundToIntegral method to APFloat, which can be parameterized over vari...Owen Anderson
2012-07-25Don't add null characters to the end of the APFloat string buffer.David Blaikie
2012-03-04Replace the hashing functions on APInt and APFloat with overloads of theChandler Carruth
2012-02-19APFloat::toString(): Fix overrun at scanning.NAKAMURA Takumi
2012-01-10Add 'llvm_unreachable' to passify GCC's understanding of the constraintsChandler Carruth
2012-01-10Remove unnecessary default cases in switches that cover all enum values.David Blaikie
2011-11-28Add back a line I deleted by accident in r145141. Fixes uninitialized variab...Eli Friedman
2011-11-26Fix APFloat::convert so that it handles narrowing conversions correctly; itEli Friedman
2011-10-12Fix APFloat::getSmallestNormalized so the shift doesn't depend on undefined b...Eli Friedman
2011-10-12Fix APFloat::getLargest so that it actually returns the correct value. Found...Eli Friedman
2011-10-07Fix APInt::operator*= so that it computes the correct result for large intege...Eli Friedman
2011-10-03Fix typo in comments.Nick Lewycky
2011-08-12Silence a bunch (but not all) "variable written but not read" warningsDuncan Sands
2011-07-18Add APInt(numBits, ArrayRef<uint64_t> bigVal) constructor to prevent future a...Jeffrey Yasskin
2011-07-15Explicitly cast the second argument to unsigned in order to select theChandler Carruth
2011-07-15Add an APFloat::convertToInt(APSInt) function that automatically manages theJeffrey Yasskin
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner
2011-03-30Avoid turning a floating point division with a constant power of two into a d...Benjamin Kramer
2011-03-30Add APFloat::getExactInverse.Benjamin Kramer
2011-03-18Initialize the only-used-with-PPC-double-double parts of the APFloat class. ThisBill Wendling
2011-02-17Enhance constant folding of bitcast operations on vectors of floats.Nadav Rotem
2011-01-23Null initialize a few variables flagged byTed Kremenek
2011-01-06Fixed parsing of hex floats.Abramo Bagnara
2010-12-07PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad
2010-11-28PR5207: change APInt::doubleToBits() and APInt::floatToBits() to beJay Foad
2010-08-19Do not assert when reading an exponent out of range.Dale Johannesen
2010-07-14Don't pass StringRef by reference.Benjamin Kramer
2010-03-24Fix minor style issues.Dan Gohman
2010-03-06make APFloat::toString be const.Chris Lattner
2010-03-01Don't potentially read past the end of the fill data when making a NaN fromJohn McCall
2010-02-28Properly clear all the extra bits in a significand when making a NaN from anJohn McCall
2010-02-28Teach APFloat how to create both QNaNs and SNaNs and with arbitrary-widthJohn McCall
2010-02-26Make APFloat's string-parsing routines a bit safer against very large exponents.John McCall
2009-12-24Implement support for converting to string at "natural precision", and fix someJohn McCall
2009-12-24Substantially optimize APFloat::toString() by doing a single large divide toJohn McCall
2009-12-24Add accessors for the largest-magnitude, smallest-magnitude, andJohn McCall
2009-10-28Remove getIEEEFloatParts and getIEEEDoubleParts. They are not needed.Evan Cheng
2009-10-27Add new APFloat methods that return sign, exp, and mantissa of ieee float and...Evan Cheng
2009-10-23Commit fixes for half precision I noted in review, soDale Johannesen
2009-10-16Add half precision floating point support (float16) to APFloat,Chris Lattner
2009-09-24wrap long lines.Chris Lattner
2009-09-17add a version of the APFloat constructor that initializes to 0.0Chris Lattner
2009-08-21Fix typo.Anton Korobeynikov
2009-08-21Implement APInt <-> APFloat conversion for IEEE 128-bit floats.Anton Korobeynikov