aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APFloat.cpp
AgeCommit message (Expand)AuthorFilesLines
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
2010-02-26Make APFloat's string-parsing routines a bit safer against very large exponents.John McCall1-2/+16
2009-12-24Implement support for converting to string at "natural precision", and fix someJohn McCall1-16/+26
2009-12-24Substantially optimize APFloat::toString() by doing a single large divide toJohn McCall1-0/+37
2009-12-24Add accessors for the largest-magnitude, smallest-magnitude, andJohn McCall1-0/+301
2009-10-28Remove getIEEEFloatParts and getIEEEDoubleParts. They are not needed.Evan Cheng1-50/+0
2009-10-27Add new APFloat methods that return sign, exp, and mantissa of ieee float and...Evan Cheng1-12/+62
2009-10-23Commit fixes for half precision I noted in review, soDale Johannesen1-3/+3
2009-10-16Add half precision floating point support (float16) to APFloat,Chris Lattner1-1/+69
2009-09-24wrap long lines.Chris Lattner1-2/+4
2009-09-17add a version of the APFloat constructor that initializes to 0.0Chris Lattner1-0/+8
2009-08-21Fix typo.Anton Korobeynikov1-1/+1
2009-08-21Implement APInt <-> APFloat conversion for IEEE 128-bit floats.Anton Korobeynikov1-3/+83
2009-08-20Add support for including '+' in APFloat strings, more asserts,Erick Tryzelaar1-28/+34
2009-08-20Fix two APFloat bugs in converting hexadecimal constants.Daniel Dunbar1-2/+2
2009-08-18Fix an uninitialized value warning in APFloat.Erick Tryzelaar1-2/+1
2009-08-16Modify APFloat to take a StringRef instead of a c string.Erick Tryzelaar1-63/+106
2009-07-14llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin1-7/+7
2009-07-11assert(0) -> LLVM_UNREACHABLE.Torok Edwin1-7/+8
2009-05-30Add support for letting the client choose different flavors of NaNs. Testcas...Mike Stump1-6/+12
2009-05-13Fix whitespacing (space after switch).Mike Stump1-6/+6
2009-03-23Fix internal representation of fp80 to be theDale Johannesen1-8/+6
2009-03-13just initialize the first element, we don't need to set the rest to zeros.Chris Lattner1-3/+3
2009-03-13Eliminate a 9640 byte static mutable initialized data item by moving itChris Lattner1-2/+2
2009-03-12static functions don't need an anonymous namespace.Chris Lattner1-373/+371
2009-02-14Unbreak the build on win32.Cedric Venet1-1/+1
2009-01-21Do not use host floating point types when emittingDale Johannesen1-1/+2
2009-01-21Make special cases (0 inf nan) work for frem.Dale Johannesen1-23/+63
2009-01-20Add an IEEE remainder function, which is notDale Johannesen1-1/+39
2009-01-19compile-time fmod was done incorrectly. PR 3316.Dale Johannesen1-2/+4
2008-11-27Get rid of bogus "control may reach end of non-void function ‘...’ beingBill Wendling1-2/+2
2008-11-26Revert r60042. IndVarSimplify should check if APFloat is PPCDoubleDouble firs...Evan Cheng1-7/+1