summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [doc/mini-gmp] Update.with-mini-gmpvlefevre2018-09-171-3/+14
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/with-mini-gmp@13213 280ebfd0-de03-0410-8827-d642c229c3f4
* Merged the latest changes from the trunk.vlefevre2018-09-172-58/+63
|\ | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/with-mini-gmp@13212 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/mul_ui.c] Better code organization (with the MPFR_RET at the rightvlefevre2018-09-171-60/+60
| | | | | | | | | | | | place). Corrected indentation after #else. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13211 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/mpfr-mini-gmp.c] added #if 0 ... #endif for mpz_dump (unused)zimmerma2018-09-172-1/+6
| | | | | | | | | | | | | | [src/mul_ui.c] fixed compiler warning for limb < long git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13210 280ebfd0-de03-0410-8827-d642c229c3f4
* | [src/Makefile.am] Update for mini-gmp (install mini-gmp.h).vlefevre2018-09-171-3/+4
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/with-mini-gmp@13209 280ebfd0-de03-0410-8827-d642c229c3f4
* | Merged the latest changes from the trunk (bug fix for 8-bit limb).vlefevre2018-09-171-0/+5
|\ \ | |/ | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/with-mini-gmp@13208 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tests/random2.c] Fix for 8-bit limb.vlefevre2018-09-171-0/+5
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13207 280ebfd0-de03-0410-8827-d642c229c3f4
* | Merged the latest changes from the trunk.vlefevre2018-09-173-16/+15
|\ \ | |/ | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/with-mini-gmp@13206 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tests/tests.c] Define only one buffer in test_version().vlefevre2018-09-171-2/+1
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13205 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tests/random2.c] Improved code by using MPFR_LIMB_* macros.vlefevre2018-09-171-3/+2
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13204 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/mpfr-impl.h] Improved MPFR_LIMB_* macros for mp_limb_t < intvlefevre2018-09-171-12/+13
| | | | | | | | | | | | | | (e.g. 16-bit or 8-bit limb), as in such a case, integer promotion transforms mp_limb_t to int. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13203 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tests/tests.c] fixed compiler warningzimmerma2018-09-171-1/+1
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13202 280ebfd0-de03-0410-8827-d642c229c3f4
* | Merged the latest changes from the trunk (bug fixes).vlefevre2018-09-144-37/+26
|\ \ | |/ | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/with-mini-gmp@13201 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/get_si.c] Code refactoring/simplification like what has beenvlefevre2018-09-141-30/+18
| | | | | | | | | | | | | | done for get_ui.c in r13185, fixing also an integer overflow when MPFR_LONG_WITHIN_LIMB is not defined. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13200 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tests/random2.c] Fix for 16-bit limb.vlefevre2018-09-141-2/+3
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13199 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/add1.c] Fix for 16-bit limb.vlefevre2018-09-141-1/+1
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13198 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/mpfr-gmp.h] Fixed bug in add_ssaaaa / sub_ddmmss from r13081.vlefevre2018-09-141-4/+4
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13197 280ebfd0-de03-0410-8827-d642c229c3f4
* | Completed --with-mini-gmp support (not fully tested).vlefevre2018-09-142-4/+16
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/with-mini-gmp@13196 280ebfd0-de03-0410-8827-d642c229c3f4
* | Merged the latest changes from the trunk.vlefevre2018-09-141-7/+5
|\ \ | |/ | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/with-mini-gmp@13195 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/Makefile.am] Moved a comment in a better place.vlefevre2018-09-141-7/+5
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13194 280ebfd0-de03-0410-8827-d642c229c3f4
* | [configure.ac] Define MINI_GMP Automake conditional (AM_CONDITIONAL).vlefevre2018-09-141-0/+3
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/with-mini-gmp@13193 280ebfd0-de03-0410-8827-d642c229c3f4
* | Started to implement --with-mini-gmp (building mini-gmp and linkingvlefevre2018-09-143-3/+34
|\ \ | |/ | | | | | | | | not correctly handled yet, thus "make check" failure is expected). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/with-mini-gmp@13192 280ebfd0-de03-0410-8827-d642c229c3f4
| * [configure.ac] Typo.vlefevre2018-09-141-1/+1
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13191 280ebfd0-de03-0410-8827-d642c229c3f4
* | Created a with-mini-gmp branch for a new --with-mini-gmp option,vlefevre2018-09-140-0/+0
|/ | | | | | as this will need some testing. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/with-mini-gmp@13190 280ebfd0-de03-0410-8827-d642c229c3f4
* [configure.ac] Updated comments about configure options for mini-gmp.vlefevre2018-09-141-3/+9
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13189 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tsin.c] reduce REDUCE_EMAX with mini-gmpzimmerma2018-09-131-0/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13188 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/get_ui.c] Added assertions.vlefevre2018-09-131-0/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13186 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/get_ui.c] Code refactoring/simplification.vlefevre2018-09-131-25/+13
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13185 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/sin_cos.c] Added assertions protecting against buffer overflow.vlefevre2018-09-131-1/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13184 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/sin_cos.c] fix for small limb sizezimmerma2018-09-131-3/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13183 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-mini-gmp.h] Fix: Since gmp_version is not defined in mini-gmp,vlefevre2018-09-121-4/+0
| | | | | | | we must not declare it (otherwise one would get a link failure instead of a compilation failure if gmp_version is used by mistake). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13182 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tests.c] Improved change in r13179 for mini-gmp.vlefevre2018-09-121-6/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13181 280ebfd0-de03-0410-8827-d642c229c3f4
* [configure.ac] Do not check for CC and CFLAGS in gmp.h if mini-gmp isvlefevre2018-09-121-1/+9
| | | | | | | used, i.e. if --enable-mini-gmp (current option) or --with-mini-gmp (future option) is given. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13180 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tests.c] libgmp is not defined with mini-gmp (issue found with -O0)zimmerma2018-09-121-0/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13179 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-mini-gmp.h] Removed #include lines as mpfr-mini-gmp.h isvlefevre2018-09-121-4/+0
| | | | | | included only in mpfr-impl.h, which already does these #include's. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13178 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-impl.h] Check that MPFR_HAVE_GMP_IMPL and MPFR_USE_MINI_GMPvlefevre2018-09-121-0/+3
| | | | | | are not both defined. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13177 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-mini-gmp.c] Removed #include "mpfr-mini-gmp.h" as this includevlefevre2018-09-121-2/+0
| | | | | | | is already done in mpfr-impl.h (in both cases, when MPFR_USE_MINI_GMP is defined). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13176 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/rec_sqrt.c] Replaced "if (GMP_NUMB_BITS >= 16)" by a preprocessorvlefevre2018-09-121-10/+11
| | | | | | test "#if GMP_NUMB_BITS >= 16" like earlier. Use static assertions. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13175 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/rec_sqrt.c] Fixed types for 8-bit limb. Removed useless casts.vlefevre2018-09-121-6/+6
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13174 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/rec_sqrt.c] Fixed a type from r13172 (int was obviously too shortvlefevre2018-09-121-1/+1
| | | | | | and was yielding a segmentation fault). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13173 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/rec_sqrt.c] fixed for 8-bit limbzimmerma2018-09-111-6/+15
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13172 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tcan_round.c] fixed test for small value of GMP_NUMB_BITSzimmerma2018-09-111-1/+8
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13171 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/strtofr.c] fixed r13168: in case exact=0, mpn_rshift was not donezimmerma2018-09-111-3/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13170 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tsqrt.c] modified test_sqrt1n() so that it passes with 8-bit limbszimmerma2018-09-111-2/+10
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13169 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/strtofr.c] Replaced "exact &=" by "exact = exact &&" as usual.vlefevre2018-09-111-2/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13168 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/strtofr.c] fix for 8-bit limbzimmerma2018-09-111-8/+14
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13167 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/strtofr.c] added commentzimmerma2018-09-111-0/+11
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13166 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mpfr.texi] Updated the month.vlefevre2018-09-101-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13165 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/strtofr.c] fix from r13163 was incorrectzimmerma2018-09-102-1/+23
| | | | | | | [tests/tget_str.c] added a testcase, and fixed an error message git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13164 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/strtofr.c] resolved a FIXMEzimmerma2018-09-081-5/+8
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13163 280ebfd0-de03-0410-8827-d642c229c3f4