summaryrefslogtreecommitdiff
path: root/mpq
Commit message (Expand)AuthorAgeFilesLines
* Consistently use pointers instead of arrays in declarations.Marc Glisse2021-06-065-5/+5
* mpq/cmp.c: Avoid int overflow.Marco Bodrato2020-05-171-1/+2
* Copyright yearsMarco Bodrato2018-05-1613-16/+17
* mpq_*_str: document and support the correct base rangeMarco Bodrato2018-05-041-4/+9
* mpq/set_si.c: ABS_CAST only if neededMarco Bodrato2018-04-271-5/+1
* mpq/set_ui.c: - typo in a commentMarco Bodrato2018-04-271-1/+1
* mpq/: Support lazy mpq_t also in the denominator.Marco Bodrato2018-04-2612-19/+18
* Handle lazy 0 numerator in mpq.Marc Glisse2018-04-185-6/+9
* Copyright yearMarco Bodrato2018-02-251-1/+1
* mpq/equal.c: Check size early.Marco Bodrato2018-02-251-5/+5
* mpq/get_d.c: Replace tdiv_qr with div_q.Marco Bodrato2018-02-201-14/+13
* mpq/get_d.c: compare (zeros > 0) just once, not 3 times...Marco Bodrato2018-02-191-22/+14
* mpq/cmp_ui.c: One more little shortcut comparing fractions to 1.Marco Bodrato2018-02-181-6/+9
* mpq/swap.c: Use *_SWAP_* macros.Marco Bodrato2018-02-181-35/+7
* Remove warnings.Marco Bodrato2016-12-291-1/+1
* Include just gmp-impl.h, make gmp-impl.h grab gmp.h.Torbjorn Granlund2016-08-2932-32/+0
* Use __GMP_ALLOCATE_FUNC_TYPE and friends.Torbjorn Granlund2016-08-291-1/+1
* mpq/set_str.c: Use __GMP_FREE_FUNC_TYPEMarco Bodrato2015-12-281-2/+2
* mp?/clears.c, mp?/inits.c: Stop supporting empty lists.Marco Bodrato2015-12-142-2/+4
* mpq/set*.c: Shorten scope of local variables.Marco Bodrato2015-11-164-9/+12
* mpq/init.c: Remove conditional code for __CHECKER__.Marco Bodrato2015-11-131-6/+1
* mp?/clears.c, mp?/inits.c: Support empty listMarco Bodrato2015-10-132-4/+2
* Streamline, use macros.Torbjorn Granlund2015-09-293-16/+14
* Wrap remaining limb allocations in __GMP_ALLOCATE_FUNC_LIMBS.Torbjorn Granlund2015-09-081-2/+2
* mpq/div.c: Move a branch out of the normal flow.Marco Bodrato2015-09-021-9/+9
* mpq/cmp.c (mpq_cmp_numden): Cast to avoid over/underflow.Marco Bodrato2015-09-011-2/+2
* New function mpq_cmp_z, with test and documentationMarco Bodrato2015-08-311-16/+59
* Whitespace cleanup.Torbjorn Granlund2015-06-201-1/+1
* ChangeLogMarco Bodrato2015-05-241-1/+1
* mpq/div.c: Remove two vars.Marco Bodrato2015-05-241-20/+19
* mpq/div.c: Reduce memory use.Marco Bodrato2015-05-241-14/+36
* Fix some spelling errors.Torbjorn Granlund2015-05-031-1/+1
* mpq: Silence a tcc warning using mpq_srcptr and not const mpq_tMarco Bodrato2014-11-153-3/+3
* INCLUDES => AM_CPPFLAGS.Torbjorn Granlund2014-10-011-1/+1
* mpq/set_d.c: Stricter allocation.Marco Bodrato2014-08-141-11/+10
* mpq/canonicalize.c: Earlier check for negative denominator.Marco Bodrato2014-08-141-9/+8
* mpq/cmp_[su]i.c: Remove a branch.Marco Bodrato2014-07-302-23/+14
* Update library files license to use LGPL3+ and GPL2+.Torbjorn Granlund2014-01-2733-235/+598
* Canonicalise copyright headers.Torbjorn Granlund2014-01-1933-99/+99
* Get rid of varargs code and references.Torbjorn Granlund2014-01-192-36/+0
* Use mpq_t inn favour of MP_RAT.Torbjorn Granlund2014-01-198-9/+9
* Get rid of BYTES_PER_MP_LIMB, most files affected.Torbjorn Granlund2014-01-194-7/+7
* Add cast to avoid overflow of (later ignored) argument.Torbjorn Granlund2014-01-191-2/+2
* Call __gmp_free_func ourselves instead of via mpq_clears.Torbjorn Granlund2014-01-191-2/+5
* Use https to link to GNU license.Torbjorn Granlund2013-12-0233-33/+33
* Collapse copyright years.Torbjorn Granlund2013-11-2811-17/+12
* mpz/cmp_si.c: Reorganise branches.Marco Bodrato2013-02-141-4/+4
* Fix mpq mord_2exp bug, enhance related testing.Torbjorn Granlund2012-11-121-2/+2
* (MPZ_NEWALLOC): New macro. Use it in mpq and some mpz.Marco Bodrato2012-06-0811-19/+19
* mpq: Use more macros and MPZ_REALLOC return value when possible.Marco Bodrato2012-06-0111-73/+71