summaryrefslogtreecommitdiff
path: root/mpz
Commit message (Expand)AuthorAgeFilesLines
* Fix typos.Torbjorn Granlund2013-07-224-4/+4
* Use ABS_CAST.Marc Glisse2013-06-091-1/+1
* (mod): Use TMP_BALLOC in mu code.Torbjorn Granlund2013-03-171-2/+2
* mpz/cong_2exp.c: Write loops in a cleaner way.Marco Bodrato2013-03-131-25/+20
* (mod): Adhere to mpn_mu_div_qr's overlap requirements.Torbjorn Granlund2013-03-111-17/+28
* Add normalization to mpz_init_ro.Niels M?ller2013-03-031-1/+4
* Remove unused variables and functions.Torbjorn Granlund2013-02-281-1/+0
* Whitespace cleanup.Torbjorn Granlund2013-02-261-1/+1
* Added mpz_limbs_read and friends.Niels M?ller2013-02-256-2/+145
* mpz/remove.c: Delay allocation in the generic case; use swap instead of set.Marco Bodrato2013-02-181-28/+47
* mpz/fits_s.h: Use NEG_CAST.Marco Bodrato2013-02-151-2/+2
* mpz/cmp_si.c: Reorganise branches.Marco Bodrato2013-02-141-25/+18
* mpz/ior.c: Use macros: MPZ_REALLOC and MPN_INCR_U.Marco Bodrato2013-02-142-12/+7
* mpz/aors_ui.h: No realloc if size was zero.Marco Bodrato2013-02-141-11/+10
* mpz/combit.c: Same micro-optimisations as in set/clr.Marco Bodrato2013-02-141-9/+12
* mpz/setbit.c, mpz/clrbit.c: Reorganise branches.Marco Bodrato2013-02-142-60/+61
* mp_dv_tab.c (__gmp_digit_value_tab): Remove a line of unused values.Marco Bodrato2013-02-142-5/+5
* Use BITS_TO_LIMBS and MPZ_NEWALLOC in random functions.Marco Bodrato2013-02-122-4/+4
* mpz/import.c, mpz/inp_raw.c: Use BITS_TO_LIMBS and MPZ_NEWALLOC.Marco Bodrato2013-02-122-4/+4
* mpz/primorial_ui.c: Use MPZ_NEWALLOC.Marco Bodrato2013-02-121-2/+2
* mpz/mfac_uiui.c: Reduce memory usage.Marco Bodrato2013-02-121-10/+15
* mpz/bin_ui.c: Avoid a copy when n < 0.Marco Bodrato2013-02-121-3/+4
* mpz/remove.c: Correct the sign in case of reuse.Marco Bodrato2013-02-021-2/+2
* mpz/cmp_si.c: Use ABS_CAST.Marco Bodrato2013-01-261-4/+4
* mpz/remove.c: init+set=init_set, cast before shiftingMarco Bodrato2013-01-261-4/+3
* mpz_import, mpz_export: Relax ASSERTs and test corner conditions.Marco Bodrato2013-01-101-1/+1
* Fix language typos.Torbjorn Granlund2013-01-083-16/+14
* Copyright year.Marco Bodrato2013-01-021-1/+1
* mpz/ior.c: Fixed an allocation bug in the -2^n case.Marco Bodrato2013-01-021-1/+1
* From Marco: Fix typos in an ASSERT.Torbjorn Granlund2012-12-171-1/+1
* mpz/com.c: Reduce branches.Marco Bodrato2012-12-061-17/+13
* mpz/{abs,neg}.c: Use NEWALLOC.Marco Bodrato2012-12-062-3/+4
* mpz_jacobi: Fix uninitialized read of low limb.Niels M?ller2012-12-051-5/+5
* Don't assume >= 2 limbs in mod argument.Torbjorn Granlund2012-12-051-2/+3
* Move new_b out since it lives on through b.Torbjorn Granlund2012-11-281-1/+1
* Add copyright years.Torbjorn Granlund2012-11-2041-56/+64
* Whitespace cleanup.Torbjorn Granlund2012-11-171-1/+1
* Rewrite.Torbjorn Granlund2012-11-041-43/+83
* mpz_combit rewrite.Niels M?ller2012-11-011-38/+49
* Make mpz_remove use mpn_remove.Torbjorn Granlund2012-10-251-64/+69
* (mpz_powm_ui): Deflect to mpz_powm for large exponent.Torbjorn Granlund2012-10-171-118/+152
* Remove an unused label.Torbjorn Granlund2012-06-291-1/+0
* Use MPN_SIZEINBASE_2EXP to count bitsMarco Bodrato2012-06-242-8/+4
* Replace MPN_SIZEINBASE_16 in gmp-impl.h with MPN_SIZEINBASE_2EXP from mpz/exp...Marco Bodrato2012-06-241-13/+0
* mpz/oddfac_1.c: Use the ASSERT_CODE macroMarco Bodrato2012-06-241-3/+3
* (MPZ_NEWALLOC): New macro. Use it in mpq and some mpz.Marco Bodrato2012-06-083-12/+14
* Whitespace cleanup.Torbjorn Granlund2012-06-021-1/+1
* __gmp_tmp_debug_alloc does not like to alloc 0 limbs.Marco Bodrato2012-06-022-2/+2
* Don't strip leading zeros since current mpn_get_str won't generate any.Torbjorn Granlund2012-06-012-35/+13
* mpn/generic/remove.c: Add a zero limb to use bdiv_qr...Marco Bodrato2012-06-011-1/+1