summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [src/mpfr-impl.h] Resolved the problem under Linux.win-thread-safe-dllvlefevre2015-09-101-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/win-thread-safe-dll@9683 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-impl.h] Detect some possible inconsistencies under Unix,vlefevre2015-09-101-0/+13
| | | | | | when some macro should imply a MS-Windows platform. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/win-thread-safe-dll@9682 280ebfd0-de03-0410-8827-d642c229c3f4
* Merged the latest changes from the trunk since this wasn't the causevlefevre2015-09-105-6/+25
| | | | | | of the problem. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/win-thread-safe-dll@9681 280ebfd0-de03-0410-8827-d642c229c3f4
* Applied changes from Stephan Tolksdorf:vlefevre2015-09-109-24/+120
| | | | | | | | | | | https://gforge.inria.fr/tracker/download.php/136/619/19537/4980/changes.zip The MPFR build fails on my Linux machine with CFLAGS=-Werror=missing-prototypes because MPFR_WIN_THREAD_SAFE_DLL gets defined (this CFLAGS just allowed me to detect the problem with MPFR_WIN_THREAD_SAFE_DLL, which could have otherwise remained unnoticed). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/win-thread-safe-dll@9680 280ebfd0-de03-0410-8827-d642c229c3f4
* Created win-thread-safe-dll branch from the trunk r9674 to support buildvlefevre2015-09-1013-140/+24
|\ | | | | | | | | | | | | | | as thread-safe DLL on Windows (some problems need to be solved). See MPFR bug 19537 on: https://gforge.inria.fr/tracker/index.php?func=detail&aid=19537&group_id=136&atid=619 git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/win-thread-safe-dll@9679 280ebfd0-de03-0410-8827-d642c229c3f4
* | Applied changes from Stephan Tolksdorf:vlefevre2015-09-109-29/+126
| | | | | | | | | | | | | | | | https://gforge.inria.fr/tracker/download.php/136/619/19537/4980/changes.zip (with some tests, the MPFR build fails on my Linux machine because MPFR_WIN_THREAD_SAFE_DLL gets defined). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/win-thread-safe-dll@9677 280ebfd0-de03-0410-8827-d642c229c3f4
* | Created win-thread-safe-dll branch to support build as thread-safe DLLvlefevre2015-09-100-0/+0
| | | | | | | | | | | | | | on Windows (some problems need to be solved). See MPFR bug 19537 on: https://gforge.inria.fr/tracker/index.php?func=detail&aid=19537&group_id=136&atid=619 git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/win-thread-safe-dll@9676 280ebfd0-de03-0410-8827-d642c229c3f4
* | Include config.h when need be.vlefevre2015-09-105-6/+25
|/ | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9675 280ebfd0-de03-0410-8827-d642c229c3f4
* [TODO] Updated mpz_t caching item, suggesting mpz_init2 instead.vlefevre2015-09-071-2/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9674 280ebfd0-de03-0410-8827-d642c229c3f4
* [TODO] Added: check whether mpz_t caching is necessary (this wasvlefevre2015-09-071-0/+27
| | | | | | | | | committed in r8911). In short, timings should be done with -static (this wasn't clear), they may depend on the malloc implementation, and after a look at the source, the difference in the timings with mpz_t caching is surprising and should be explained. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9673 280ebfd0-de03-0410-8827-d642c229c3f4
* [tools/ck-copyright-notice] Check src/mparam_h.in instead of thevlefevre2015-09-041-0/+2
| | | | | | | generated (and not distributed) src/mparam.h file; this is also useful to avoid an error after running "make tune". git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9672 280ebfd0-de03-0410-8827-d642c229c3f4
* distribute the mpfrbench READMEzimmerma2015-09-041-0/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9671 280ebfd0-de03-0410-8827-d642c229c3f4
* add a README for mpfrbenchzimmerma2015-09-041-0/+34
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9670 280ebfd0-de03-0410-8827-d642c229c3f4
* More details in a comment about assertions via tuneup.vlefevre2015-09-041-2/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9669 280ebfd0-de03-0410-8827-d642c229c3f4
* fixed failed assertion during "make tune"zimmerma2015-09-041-2/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9668 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tget_z.c] Flags testing.vlefevre2015-08-251-21/+46
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9667 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/README.dev] Updated a URL.vlefevre2015-08-251-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9666 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tstdint.c] Support MPFR_PRINTF_MAXLM.vlefevre2015-08-251-1/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9663 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tget_sj.c] Support MPFR_PRINTF_MAXLM.vlefevre2015-08-251-10/+27
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9662 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tget_sj.c] Typo.vlefevre2015-08-251-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9661 280ebfd0-de03-0410-8827-d642c229c3f4
* [acinclude.m4] Instead of checking whether the 'j' printf lengthvlefevre2015-08-251-8/+17
| | | | | | modifier is working, try to find one that works. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9660 280ebfd0-de03-0410-8827-d642c229c3f4
* [acinclude.m4] Check whether the 'j' printf length modifier is working.vlefevre2015-08-251-0/+19
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9659 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tget_sj.c] Improved check_erange (more flags testing).vlefevre2015-08-251-69/+51
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9658 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tget_sj.c] Improved check_sj and check_uj even more.vlefevre2015-08-251-63/+69
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9657 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tget_sj.c] Improved check_sj and check_uj (flags testing).vlefevre2015-08-251-15/+37
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9656 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tfits.c] New tests at the limits of the types.vlefevre2015-08-241-18/+36
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9655 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tfits.c] For the mpfr_fits_{uintmax,intmax}_p functions, checkvlefevre2015-08-241-77/+42
| | | | | | that the flags are not modified and added tests of -Inf and -0. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9654 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tfits.c] For the mpfr_fits_{u,s}{long,int,short}_p functions,vlefevre2015-08-241-144/+117
| | | | | | check that the flags are not modified and added tests of -Inf and -0. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9653 280ebfd0-de03-0410-8827-d642c229c3f4
* fixed the AMD K8 tuning (cf r8118)zimmerma2015-08-241-7/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9652 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tset_si.c] Improved NaN mpfr_get_si / mpfr_get_ui test.vlefevre2015-08-241-3/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9651 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/{fits_intmax.c,fits_s.h,fits_u.h}] Fixed mpfr_fits_* functions:vlefevre2015-08-243-0/+9
| | | | | | | the flags could be modified, which made the new mpfr_get_{si,ui} tests fail (tests/tset_si.c r9649). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9650 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tset_si.c] Added mpfr_get_{si,ui} tests, including flags.vlefevre2015-08-241-0/+88
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9649 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mparam_h.in] Improved comment: __amd64__ is generic to allvlefevre2015-08-201-1/+7
| | | | | | | x86 processors with a 64-bit ABI (amd64, a.k.a. x86_64), thus suggest to move mparam.h files to more meaningful locations. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9648 280ebfd0-de03-0410-8827-d642c229c3f4
* [configure.ac] Added test for usability of gmp.h at link timevlefevre2015-08-201-0/+17
| | | | | | | | (merged changeset r9644 from the 3.1 branch, with minor changes due to the fact that a known problem between GMP 4.1 and GCC 5 can no longer occur, now that we require GMP 4.2.0 or newer). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9645 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/README.dev] "To make a release": mention abi-compliance-checker.vlefevre2015-08-191-0/+6
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9642 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/fpif.c] Added an assertion (I get a build failure with gcc-snapshotvlefevre2015-07-311-1/+4
| | | | | | | 20150722-1 due to -Werror=array-bounds, but the code looks OK). Simplified test on: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67077 git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9638 280ebfd0-de03-0410-8827-d642c229c3f4
* remove usage of mpn_rootrem in mpfr_sqrt since now mpn_sqrtrem is fasterzimmerma2015-07-313-20/+3
| | | | | | | (https://gmplib.org/list-archives/gmp-devel/2015-July/004074.html) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9637 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/next.c] Added a note concerning the exceptions.vlefevre2015-07-301-0/+6
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9636 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mpfr.texi] Updated the month.vlefevre2015-07-201-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9632 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tversion.c] Output MPFR_VERSION_STRING too.vlefevre2015-07-201-0/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9631 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tversion.c] Check and output additional mpfr_buildopt_* info.vlefevre2015-07-201-0/+38
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9630 280ebfd0-de03-0410-8827-d642c229c3f4
* Added mpfr_rint_roundeven and mpfr_roundeven functions, withvlefevre2015-07-205-42/+128
| | | | | | documentation and tests. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9629 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tfrexp.c]vlefevre2015-07-161-4/+6
| | | | | | | | | * Replaced each mpfr_get_exp occurrence by the internal MPFR_GET_EXP macro in order to make sure that an assertion failure is triggered in case of singular number (see also the comment added in r9618). * Fixed the remaining problem due to an overflow and infinite value. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9619 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr.h] Added a comment about the drawback of the mpfr_get_exp()vlefevre2015-07-161-2/+6
| | | | | | macro, defined in addition to the function. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9618 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tfrexp.c] Simplification: merged the tests on the ternary values,vlefevre2015-07-151-16/+4
| | | | | | the returned MPFR values and the flags. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9617 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/{div_2si.c,div_2ui.c,mul_2si.c}] Fixed some underflow cases invlefevre2015-07-153-3/+7
| | | | | | | rounding to nearest when the exact result is -2^(emin-2), i.e. the middle of 0 and the minimum negative number in absolute value. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9616 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/exceptions.c] Added logging for mpfr_underflow and mpfr_overflow.vlefevre2015-07-151-1/+12
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9615 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tmul_2exp.c] Extended the underflow() test to negative numbers,vlefevre2015-07-151-58/+63
| | | | | | triggering a new bug. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9614 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/frexp.c] Added a comment.vlefevre2015-07-151-0/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9613 280ebfd0-de03-0410-8827-d642c229c3f4
* [tools/build-patch] Rebuild the mpfr.info file if mpfr.texi has beenvlefevre2015-07-021-0/+5
| | | | | | | modified, in order to take it into account in the patch. This is needed since the mpfr.info file is distributed in the tarball. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9609 280ebfd0-de03-0410-8827-d642c229c3f4