aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/APFloatTest.cpp
AgeCommit message (Expand)AuthorFilesLines
2015-01-04[APFloat][ADT] Fix sign handling logic for FMA results that truncate to zero.Lang Hames1-0/+41
2014-11-19[ADT] Fix PR20728 - Incorrect APFloat::fusedMultiplyAdd results for x86_fp80.Lang Hames1-0/+12
2014-10-10[ADT] Add an (ADL-friendly) abs free function for APFloat that returnsChandler Carruth1-0/+38
2014-10-10Add minnum / maxnum to APFloatMatt Arsenault1-0/+22
2014-10-10[ADT] Replace the logb implementation with the simpler and much closerChandler Carruth1-49/+27
2014-10-10[ADT] Add the scalbn function for APFloat.Chandler Carruth1-0/+43
2014-10-10[ADT] Implement the 'logb' functionality for APFloat. This is necessaryChandler Carruth1-0/+51
2014-10-09[ADT] Add basic operator overloads for arithmetic to APFloat to makeChandler Carruth1-0/+20
2014-06-08[C++11] Use 'nullptr'.Craig Topper1-3/+3
2014-06-08APFloat: x - NaN needs to flip the signbit of NaN when x is a number.Stephen Canon1-24/+24
2013-08-29Change default # of digits for APFloat::toStringEli Friedman1-4/+5
2013-08-28Revert r189442 "Change default # of digits for APFloat::toString"Ted Kremenek1-5/+4
2013-08-28Change default # of digits for APFloat::toStringEli Friedman1-4/+5
2013-07-27[APFloat] Make all arithmetic operations with NaN produce positive NaNs.Michael Gottesman1-86/+36
2013-07-17Handle '.' correctly in hex float literal parsing.Eli Friedman1-1/+6
2013-07-01[APFloat] Ensure that we can properly parse strings that do not have null ter...Michael Gottesman1-0/+25
2013-06-27[APFloat] Added unittest for APFloat.divide that checks special cases, result...Michael Gottesman1-0/+304
2013-06-27Removed two logging printf statements from the APFloat tests... = /.Michael Gottesman1-8/+0
2013-06-26[APFloat] Added unittest for APFloat.multiply that checks special cases, resu...Michael Gottesman1-0/+307
2013-06-26[APFloat] Added unittest for APFloat.subtract that checks special cases, resu...Michael Gottesman1-0/+303
2013-06-26[APFloat] Removed debugging cruft that snuck in.Michael Gottesman1-4/+0
2013-06-24[APFloat] Removed trailing whitespace from unittests.Michael Gottesman1-14/+14
2013-06-24[APFloat] Added a large unittest for APFloat.add that checks that special val...Michael Gottesman1-0/+302
2013-06-20[APFloat] Rename isIEEENormal => isNormal and remove old isNormal method.Michael Gottesman1-7/+7
2013-06-20[APFloat] Fix typo in test so we actually test if we handle denormals.Michael Gottesman1-4/+4
2013-06-19[APFloat] Changed APFloat::isNormal => APFloat::isFiniteNonZero for all tests...Michael Gottesman1-8/+8
2013-06-19[APFloat] Added isFiniteNonZero predicate.Michael Gottesman1-0/+28
2013-06-04IEEE-754R 5.7.2 General Operations is* operations (except for isCanonical).Michael Gottesman1-0/+61
2013-06-01Try to avoid "integer literal too big" warnings from older GCCs.Benjamin Kramer1-7/+7
2013-05-31[APFloat] Added a unittest for APFloat::getZero.Michael Gottesman1-0/+37
2013-05-30Implement IEEE-754R 2008 nextUp/nextDown functions in the guise of the functi...Michael Gottesman1-0/+420
2013-05-30Added a unittest for APFloat::getSmallestNormalized.Michael Gottesman1-0/+30
2013-05-30Added code to the unittest for APFloat::getSmallest to double check that we c...Michael Gottesman1-2/+6
2013-05-29Add a unittest for APFloat::getSmallest.Michael Gottesman1-0/+26
2013-05-13Fix a bug that APFloat::fusedMultiplyAdd() mistakenly evaluate "14.5f * -14.5...Shuxin Yang1-0/+23
2013-01-25APFloat: Make sure that we get a well-formed x87 NaN when converting from a s...Benjamin Kramer1-0/+26
2013-01-07Implement APFloat::isDenormal()Shuxin Yang1-0/+52
2012-12-04Sort the #include lines for unittest/...Chandler Carruth1-4/+4
2012-11-08Drop the limitation to IEEE floating point types from the fdiv of pow2 -> fmu...Benjamin Kramer1-0/+6
2012-10-29Implement arithmetic on APFloat with PPCDoubleDouble semantics byUlrich Weigand1-0/+36
2012-09-26APFloat::roundToIntegral: Special values don't keep the exponent value up to ...Benjamin Kramer1-0/+17
2012-08-15Fix another roundToIntegral bug where very large values could become infinity...Owen Anderson1-1/+14
2012-08-15Fix a problem with APFloat::roundToIntegral where it would return incorrect r...Owen Anderson1-0/+30
2011-11-26Fix APFloat::convert so that it handles narrowing conversions correctly; itEli Friedman1-0/+24
2011-10-12Attempt to fix MSVC build.Eli Friedman1-2/+2
2011-10-12Fix APFloat::getLargest so that it actually returns the correct value. Found...Eli Friedman1-0/+5
2011-08-29Fix a test that wasn't testing the right thing.Matt Beaumont-Gay1-4/+6
2011-07-15Add an APFloat::convertToInt(APSInt) function that automatically manages theJeffrey Yasskin1-0/+49
2011-03-30Avoid turning a floating point division with a constant power of two into a d...Benjamin Kramer1-4/+2
2011-03-30Add APFloat::getExactInverse.Benjamin Kramer1-0/+23