summaryrefslogtreecommitdiff
path: root/lib/Support/APFloat.cpp
AgeCommit message (Expand)AuthorFilesLines
2013-03-20Fix AsmPrinter crashes with assertion. Bug 15318 in BugzillaHao Liu1-4/+2
2013-01-25APFloat: Make sure that we get a well-formed x87 NaN when converting from a s...Benjamin Kramer1-0/+6
2013-01-22Make APFloat constructor require explicit semantics.Tim Northover1-16/+32
2013-01-18Add llvm::hexDigitValue to convert single characters to hex.Jordan Rose1-20/+1
2013-01-13Remove redundant 'llvm::' qualificationsDmitri Gribenko1-1/+1
2013-01-07Implement APFloat::isDenormal()Shuxin Yang1-0/+7
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-1/+1
2012-11-30Fix a bug in APFloat.cpp: declare APFloat after fltSemantics itAlexey Samsonov1-1/+3
2012-11-08Drop the limitation to IEEE floating point types from the fdiv of pow2 -> fmu...Benjamin Kramer1-5/+0
2012-10-29APFloat cleanup: Remove now unused "arithmeticOK" logic.Ulrich Weigand1-42/+8
2012-10-29APFloat cleanup: Remove now unused fields "sign2" and "exponent2".Ulrich Weigand1-21/+9
2012-10-29Implement arithmetic on APFloat with PPCDoubleDouble semantics byUlrich Weigand1-76/+65
2012-09-26APFloat::roundToIntegral: Special values don't keep the exponent value up to ...Benjamin Kramer1-1/+1
2012-08-24Fix undefined behavior (signed integer overflow) when Clang parses a hexfloat...Richard Smith1-1/+3
2012-08-15Fix another roundToIntegral bug where very large values could become infinity...Owen Anderson1-0/+6
2012-08-15Fix typo in comment.Owen Anderson1-1/+1
2012-08-15Fix a problem with APFloat::roundToIntegral where it would return incorrect r...Owen Anderson1-0/+12
2012-08-14Fix the construction of the magic constant for roundToIntegral to be 64-bit s...Owen Anderson1-2/+2
2012-08-13Add a roundToIntegral method to APFloat, which can be parameterized over vari...Owen Anderson1-0/+26
2012-07-25Don't add null characters to the end of the APFloat string buffer.David Blaikie1-10/+2
2012-03-04Replace the hashing functions on APInt and APFloat with overloads of theChandler Carruth1-16/+15
2012-02-19APFloat::toString(): Fix overrun at scanning.NAKAMURA Takumi1-1/+1
2012-01-10Add 'llvm_unreachable' to passify GCC's understanding of the constraintsChandler Carruth1-0/+1
2012-01-10Remove unnecessary default cases in switches that cover all enum values.David Blaikie1-3/+0
2011-11-28Add back a line I deleted by accident in r145141. Fixes uninitialized variab...Eli Friedman1-0/+1
2011-11-26Fix APFloat::convert so that it handles narrowing conversions correctly; itEli Friedman1-49/+36
2011-10-12Fix APFloat::getSmallestNormalized so the shift doesn't depend on undefined b...Eli Friedman1-1/+1
2011-10-12Fix APFloat::getLargest so that it actually returns the correct value. Found...Eli Friedman1-2/+3
2011-10-07Fix APInt::operator*= so that it computes the correct result for large intege...Eli Friedman1-1/+1
2011-10-03Fix typo in comments.Nick Lewycky1-2/+2
2011-08-12Silence a bunch (but not all) "variable written but not read" warningsDuncan Sands1-0/+4
2011-07-18Add APInt(numBits, ArrayRef<uint64_t> bigVal) constructor to prevent future a...Jeffrey Yasskin1-7/+7
2011-07-15Explicitly cast the second argument to unsigned in order to select theChandler Carruth1-1/+1
2011-07-15Add an APFloat::convertToInt(APSInt) function that automatically manages theJeffrey Yasskin1-0/+18
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner1-1/+1
2011-03-30Avoid turning a floating point division with a constant power of two into a d...Benjamin Kramer1-0/+8
2011-03-30Add APFloat::getExactInverse.Benjamin Kramer1-0/+26
2011-03-18Initialize the only-used-with-PPC-double-double parts of the APFloat class. ThisBill Wendling1-13/+10
2011-02-17Enhance constant folding of bitcast operations on vectors of floats.Nadav Rotem1-0/+6
2011-01-23Null initialize a few variables flagged byTed Kremenek1-1/+1
2011-01-06Fixed parsing of hex floats.Abramo Bagnara1-4/+4
2010-12-07PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad1-3/+3
2010-11-28PR5207: change APInt::doubleToBits() and APInt::floatToBits() to beJay Foad1-4/+2
2010-08-19Do not assert when reading an exponent out of range.Dale Johannesen1-0/+1
2010-07-14Don't pass StringRef by reference.Benjamin Kramer1-5/+4
2010-03-24Fix minor style issues.Dan Gohman1-143/+141
2010-03-06make APFloat::toString be const.Chris Lattner1-1/+1
2010-03-01Don't potentially read past the end of the fill data when making a NaN fromJohn McCall1-1/+2
2010-02-28Properly clear all the extra bits in a significand when making a NaN from anJohn McCall1-8/+28
2010-02-28Teach APFloat how to create both QNaNs and SNaNs and with arbitrary-widthJohn McCall1-11/+36