summaryrefslogtreecommitdiff
path: root/tests/cxx
Commit message (Expand)AuthorAgeFilesLines
* Use reference parameter for 'catch'.Torbjorn Granlund2020-11-195-29/+29
* Handle lazy 0 numerator in mpq.Marc Glisse2018-04-181-1/+1
* gmpxx.h: Special handling for mpq==0Marco Bodrato2018-03-031-1/+1
* tests/cxx/t-ops2qf.cc (checkqf): Some check for +/- 1, +/- 0.Marco Bodrato2018-02-281-0/+4
* Whitespace cleanup.Torbjorn Granlund2017-07-191-1/+0
* (AM_LDFLAGS): Define. (Thanks to Emmanuel Thom?? and Vincent Lefevre.)Torbjorn Granlund2017-06-281-0/+1
* Avoid left shift of negative value in tests.Marc Glisse2016-11-251-1/+1
* Optimize 1/q to call mpq_inv.Marc Glisse2016-10-281-0/+10
* Include just gmp-impl.h, make gmp-impl.h grab gmp.h.Torbjorn Granlund2016-08-2918-18/+0
* mpz_init cannot throw.Marc Glisse2016-04-071-0/+8
* tests/: Do not redefine localeconv when mingw is used.Marco Bodrato2016-01-011-1/+1
* New C++ function fibonacci.Marc Glisse2015-11-121-0/+9
* Reject negative operands for primorial, after Marco's suggestion.Marc Glisse2015-11-101-2/+4
* Move EXTRA_DIST out of WANT_CXX.Marc Glisse2015-11-091-1/+3
* Split t-ops2 which was getting too large.Marc Glisse2015-11-086-294/+377
* New C++ function primorial.Marc Glisse2015-11-081-0/+9
* factorial in C++.Marc Glisse2015-11-082-2/+16
* Copyright yearMarco Bodrato2015-11-011-1/+1
* tests/cxx/t-ops.cc: Test also comparison in ZxQ, ZxF, QxF.Marco Bodrato2015-10-261-0/+21
* Spacing and copyright fixes.Torbjorn Granlund2015-04-211-1/+1
* Minor testsuite fixes when building as C++.Marc Glisse2014-12-101-0/+6
* INCLUDES => AM_CPPFLAGS.Torbjorn Granlund2014-10-011-1/+1
* Add C++ functions gcd and lcm.Marc Glisse2014-06-171-0/+12
* The C++ standard was modified so common_type now decays.Marc Glisse2014-05-081-4/+9
* Change some URLs from http to https.Torbjorn Granlund2014-01-291-1/+1
* Use https to link to GNU license.Torbjorn Granlund2013-12-0222-22/+22
* Collapse copyright years.Torbjorn Granlund2013-11-2810-10/+10
* Use GMP_DECIMAL_POINT more consistently.Marc Glisse2013-06-281-2/+2
* New testcase to clearly identify C++ compilers that have a broken exception s...Marc Glisse2013-03-172-2/+44
* Construct temporary mpq from double on the stack, as is already the case for ...Marc Glisse2013-02-171-0/+10
* Include <math.h> instead of <cmath> followed by using namespace std. Don't in...Marc Glisse2013-02-171-4/+1
* Link C++ tests with -lm, so we can compare the result of mpf functions with l...Marc Glisse2013-02-172-1/+5
* (checkz): Reduce huge numbers to avoid vax overflow.Torbjorn Granlund2012-11-261-4/+4
* Put all of test suite under GPL, use consistent header.Torbjorn Granlund2012-11-2121-231/+231
* Specialize std::common_type for expressions with builtin types.Marc Glisse2012-07-281-2/+1
* Test numeric_limits.Marc Glisse2012-06-231-0/+13
* Handle mpq_class(0,1)Marc Glisse2012-05-311-0/+1
* tests: slightly wider coverage.Marco Bodrato2012-05-171-0/+1
* explicit conversion to boolMarc Glisse2012-05-111-1/+28
* tests/cxx/t-ops2.cc: Improve coverage (the cheap way).Marco Bodrato2012-04-251-1/+2
* C++11 user-defined literalsMarc Glisse2012-03-081-5/+16
* Use the macros ALLOC etc to access the fields of mpz_t in mpz/*.Marc Glisse2012-02-231-0/+2
* Remove a temporary in expressions like q=q*q+z*z: tmp=z*z, q=q*q, q+=tmp.Marc Glisse2012-02-181-0/+4
* Specialize std::common_type in C++11.Marc Glisse2012-02-181-3/+47
* Replace e=a*b-c*d with tmp=c*d, e=a*b, e-=tmp, which uses one less temporary.Marc Glisse2012-02-161-1/+7
* Initial C++11 support.Marc Glisse2012-01-302-2/+143
* Sanity checks for the previous commit, test variable reuse.Marc Glisse2012-01-301-0/+9
* Spacing cleanup.Torbjorn Granlund2011-11-211-20/+20
* Add swap functions to gmpxx.Marc Glisse2011-09-211-1/+89
* __builtin_constant_p optimizations to turn x+0 into x, x*4 into x<<2, etc, al...Marc Glisse2011-08-211-0/+3