aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/APFloat.cpp
Commit message (Expand)AuthorAgeFilesLines
* Fix undefined behavior (signed integer overflow) when Clang parses a hexfloat...Richard Smith2012-08-241-1/+3
* Fix another roundToIntegral bug where very large values could become infinity...Owen Anderson2012-08-151-0/+6
* Fix typo in comment.Owen Anderson2012-08-151-1/+1
* Fix a problem with APFloat::roundToIntegral where it would return incorrect r...Owen Anderson2012-08-151-0/+12
* Fix the construction of the magic constant for roundToIntegral to be 64-bit s...Owen Anderson2012-08-141-2/+2
* Add a roundToIntegral method to APFloat, which can be parameterized over vari...Owen Anderson2012-08-131-0/+26
* Don't add null characters to the end of the APFloat string buffer.David Blaikie2012-07-251-10/+2
* Replace the hashing functions on APInt and APFloat with overloads of theChandler Carruth2012-03-041-16/+15
* APFloat::toString(): Fix overrun at scanning.NAKAMURA Takumi2012-02-191-1/+1
* Add 'llvm_unreachable' to passify GCC's understanding of the constraintsChandler Carruth2012-01-101-0/+1
* Remove unnecessary default cases in switches that cover all enum values.David Blaikie2012-01-101-3/+0
* Add back a line I deleted by accident in r145141. Fixes uninitialized variab...Eli Friedman2011-11-281-0/+1
* Fix APFloat::convert so that it handles narrowing conversions correctly; itEli Friedman2011-11-261-49/+36
* Fix APFloat::getSmallestNormalized so the shift doesn't depend on undefined b...Eli Friedman2011-10-121-1/+1
* Fix APFloat::getLargest so that it actually returns the correct value. Found...Eli Friedman2011-10-121-2/+3
* Fix APInt::operator*= so that it computes the correct result for large intege...Eli Friedman2011-10-071-1/+1
* Fix typo in comments.Nick Lewycky2011-10-031-2/+2
* Silence a bunch (but not all) "variable written but not read" warningsDuncan Sands2011-08-121-0/+4
* Add APInt(numBits, ArrayRef<uint64_t> bigVal) constructor to prevent future a...Jeffrey Yasskin2011-07-181-7/+7
* Explicitly cast the second argument to unsigned in order to select theChandler Carruth2011-07-151-1/+1
* Add an APFloat::convertToInt(APSInt) function that automatically manages theJeffrey Yasskin2011-07-151-0/+18
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-151-1/+1
* Avoid turning a floating point division with a constant power of two into a d...Benjamin Kramer2011-03-301-0/+8
* Add APFloat::getExactInverse.Benjamin Kramer2011-03-301-0/+26
* Initialize the only-used-with-PPC-double-double parts of the APFloat class. ThisBill Wendling2011-03-181-13/+10
* Enhance constant folding of bitcast operations on vectors of floats.Nadav Rotem2011-02-171-0/+6
* Null initialize a few variables flagged byTed Kremenek2011-01-231-1/+1
* Fixed parsing of hex floats.Abramo Bagnara2011-01-061-4/+4
* PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad2010-12-071-3/+3
* PR5207: change APInt::doubleToBits() and APInt::floatToBits() to beJay Foad2010-11-281-4/+2
* Do not assert when reading an exponent out of range.Dale Johannesen2010-08-191-0/+1
* Don't pass StringRef by reference.Benjamin Kramer2010-07-141-5/+4
* Fix minor style issues.Dan Gohman2010-03-241-143/+141
* make APFloat::toString be const.Chris Lattner2010-03-061-1/+1
* Don't potentially read past the end of the fill data when making a NaN fromJohn McCall2010-03-011-1/+2
* Properly clear all the extra bits in a significand when making a NaN from anJohn McCall2010-02-281-8/+28
* Teach APFloat how to create both QNaNs and SNaNs and with arbitrary-widthJohn McCall2010-02-281-11/+36
* Make APFloat's string-parsing routines a bit safer against very large exponents.John McCall2010-02-261-2/+16
* Implement support for converting to string at "natural precision", and fix someJohn McCall2009-12-241-16/+26
* Substantially optimize APFloat::toString() by doing a single large divide toJohn McCall2009-12-241-0/+37
* Add accessors for the largest-magnitude, smallest-magnitude, andJohn McCall2009-12-241-0/+301
* Remove getIEEEFloatParts and getIEEEDoubleParts. They are not needed.Evan Cheng2009-10-281-50/+0
* Add new APFloat methods that return sign, exp, and mantissa of ieee float and...Evan Cheng2009-10-271-12/+62
* Commit fixes for half precision I noted in review, soDale Johannesen2009-10-231-3/+3
* Add half precision floating point support (float16) to APFloat,Chris Lattner2009-10-161-1/+69
* wrap long lines.Chris Lattner2009-09-241-2/+4
* add a version of the APFloat constructor that initializes to 0.0Chris Lattner2009-09-171-0/+8
* Fix typo.Anton Korobeynikov2009-08-211-1/+1
* Implement APInt <-> APFloat conversion for IEEE 128-bit floats.Anton Korobeynikov2009-08-211-3/+83
* Add support for including '+' in APFloat strings, more asserts,Erick Tryzelaar2009-08-201-28/+34