| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
"main (void)" (the other similar changes were done in r9418 for
the 3.1 branch and r8728 in the trunk, which is why r8245 did not
have this change). Useful to configure & build with -Werror (this
needs a patched autoconf).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10131 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
* Support for _Thread_local (C11).
* Support build as thread-safe DLL on Windows (mainly changes
from Stephan Tolksdorf).
(merged changesets r7954,8245,9684,9778 from the trunk, with
mpfr_flags_t replaced by unsigned int)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10130 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
Contributed by the AriC and Caramel projects
by
Contributed by the AriC and Caramba projects
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9943 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/ (\d{4}-)?(2015)(?= Free Software)/
" ".($1||"$2-").($2+1)/e' **/*(^/)
under zsh (the m4 and tools/mbench directories were not modified).
Removed 2015 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9781 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
* MPFR_FUNC_GMP_PRINTF_SPEC: missing #include <string.h> for strcmp.
* Replaced rint by nearbyint in messages (as nearbyint is tested).
* Avoid warnings to avoid failures when -Werror is used.
(merged changeset r9438 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9439 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
a --with-gmp* configure option exists and doesn't contain any
space, and canonicalize the name if the realpath utility is
available (patch by Patrick PĂ©lissier).
(merged changeset r8840 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9421 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
test, making the test fail with gcc -Werror=unused-but-set-variable.
(merged changeset r8729 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9419 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9418 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
build failure under Android, which does not have them; see
https://sympa.inria.fr/sympa/arc/mpfr/2012-10/msg00002.html
[src/mpfr-impl.h] Decimal point / thousands separator support can now be
detected automatically by configure (from the presence of <locale.h>
and the above members) or explicitly disabled/enabled by the user by
defining the MPFR_LCONV_DPTS macro to 0 or 1 via CFLAGS (a configure
switch might be added in the future).
[tests/tsprintf.c] Do the locale_da_DK test only if MPFR_LCONV_DPTS is
true.
(merged changeset r8423 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9414 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
[tests/{tset_d.c,tget_flt.c}] Disabled two tests when HAVE_SIGNEDZ
isn't defined, because these tests rely on signed zeros.
Note: this is needed for compilers that don't support signed zeros,
like tcc 0.9.26 and before.
(merged changesets r8339-8340 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9413 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added test for double-to-integer conversion bug.
* Corrected a gmp.h inclusion.
* Added MPFR_CHECK_GMP configure check. Without this test, one could
get an error in MPFR_CHECK_PRINTF_SPEC (or MPFR_CHECK_DBL2INT_BUG,
taking into account the above addition), though the error is not
related to printf or a double-to-integer conversion bug.
(merged changesets r8353-8355,8432,8601-8602,8606,8614,8900 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9412 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
useless "#include <math.h>" in the test for subnormal numbers.
(merged changesets r8337-8338,8364 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9411 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(merged changeset r8334 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9410 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/ (\d{4}-)?(2014)(?= Free Software)/
" ".($1||"$2-").($2+1)/e' **/*(^/)
under zsh (the m4 and tools/mbench directories were not modified).
Removed 2014 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9403 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/ (\d{4}-)?(2013)(?= Free Software)/
" ".($1||"$2-").($2+1)/e' **/*(^/)
under zsh, reverting the ChangeLog file (the m4 and tools/mbench
directories were not modified).
Removed 2013 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@8724 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@8541 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/2012 Free Software/2012, 2013 Free Software/' **/*(^/)
under zsh, reverting the ChangeLog file (the m4 and tools/mbench
directories were not modified).
Removed 2012 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@8465 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
perl -pi -e 's/Contributed by the Arenaire/Contributed by the AriC/' **/*(^/)
under zsh, reverting the ChangeLog file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@7995 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/2011 Free Software/2011, 2012 Free Software/' **/*(^/)
under zsh, reverting the ChangeLog file (the m4 and tools/mbench
directories were not modified).
Removed 2011 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@7987 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
"#include <stdint.h>" (for instance, this doesn't work under
Solaris 9: INTMAX_MAX is defined only via <inttypes.h>), but
include "mpfr-intmax.h" instead (needs a temporary CPPFLAGS).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7782 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7755 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
"warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body"
with autoconf 2.68:
* Fixed missing quoting in an AC_RUN_IFELSE.
* Added an AC_LANG_SOURCE in another AC_RUN_IFELSE.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7634 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7633 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7632 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7631 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7630 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/2010 Free Software/2010, 2011 Free Software/' **/*(^/)
under zsh, reverting the ChangeLog file and the m4 and tools/mbench
directories.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7389 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
built as thread safe by default. To disable TLS explicitly, configure
MPFR with --disable-thread-safe.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7329 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7243 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Kirkby)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7242 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
(note that long double is IEEE double on PowerPC32)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7240 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7172 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added directories and moved related files into them:
- src for the MPFR source files (to build the library).
- doc for documentation files (except INSTALL, README...).
- tools for various tools (scripts) and mbench.
- tune for tuneup-related source files.
- other for other source files (not distributed in tarballs).
Existing directories:
- tests for the source files of the test suite (make check).
- examples for examples.
- m4 for m4 files.
* Renamed configure.in to configure.ac.
* Added/updated Makefile.am files where needed.
* Updated acinclude.m4 and configure.ac (AC_CONFIG_FILES line).
* Updated the documentation (INSTALL, README, doc/README.dev and
doc/mpfr.texi).
* Updated NEWS and TODO.
* Updated the scripts now in tools.
The following script was used:
#!/usr/bin/env zsh
svn mkdir doc other src tools tune
svn mv ${${(M)$(sed -n '/libmpfr_la_SOURCES/,/[^\]$/p' \
Makefile.am):#*.[ch]}:#get_patches.c} mparam_h.in \
round_raw_generic.c jyn_asympt.c src
svn mv mbench check_inits_clears coverage get_patches.sh mpfrlint \
nightly-test update-patchv update-version tools
svn mv bidimensional_sample.c speed.c tuneup.c tune
svn mv *.{c,h} other
svn mv FAQ.html README.dev algorithm* faq.xsl fdl.texi mpfr.texi \
update-faq doc
svn mv configure.in configure.ac
svn cp Makefile.am src/Makefile.am
svn rm replace_all
[Modifying some files, see above]
svn add doc/Makefile.am
svn add tune/Makefile.am
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7087 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
conformance though <inttypes.h> is available. In various source
files and m4 files, use the following form only:
#if HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#if HAVE_STDINT_H
# include <stdint.h>
#endif
Updated README.dev to mention this form.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7083 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* acinclude.m4: added a test to check whether the FP division by 0
fails, and define MPFR_ERRDIVZERO in such a case.
* tests/tests.c: if MPFR_TEST_DIVBYZERO is defined, test whether
there has been a floating-point division by 0 (FE_DIVBYZERO or
FE_INVALID exception).
* tests/tgeneric.c: if MPFR_ERRDIVZERO is defined, disable the
huge and tiny cases.
* tests/t*_{flt,d,ld}.c: if MPFR_ERRDIVZERO is defined, disable
tests involving NaN and infinities.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7050 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
Contributed by the Arenaire and Cacao projects
by
Contributed by the Arenaire and Caramel projects
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7026 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
when available. This problem was introduced when AC_FUNC_ALLOCA
was removed from configure.in in r6765. Note: building MPFR with
--with-gmp-build is not affected as GMP's config.h is used.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6989 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
(only -lM was tested while this library may not be available; so,
let's use the default rule as -lm works).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6915 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
(e.g. with gcc -ansi -pedantic-errors in 32-bit mode under GNU/Linux).
New macros MPFR_UINTMAX_MAX, MPFR_INTMAX_MAX and MPFR_INTMAX_MIN are
defined and used internally instead of UINTMAX_MAX, INTMAX_MAX and
INTMAX_MIN. If these C99 macros work, then the MPFR_* macros use them,
otherwise MPFR uses its own definitions.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6849 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
format (not tested, should happen on ARM)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6714 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
(tested on gcc40.fsffrance.org and gcc53, both PowerPC's)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6713 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
This test cannot currently be reliable, so we just output a warning.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6712 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
perl -pi -e 's/2009 Free Software/2009, 2010 Free Software/' **/*(^/)
under zsh, reverting the ChangeLog file and the mbench directory.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6684 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6649 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
coherence with other cases
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6633 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6632 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
[acinclude.m4] removed check for %zu, no longer needed
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6585 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
[tfprintf.c,tprintf.c] added #ifdef's for NPRINTF_ZU
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6582 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
and updated all the references (except in ChangeLog).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6351 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
the fesetround() test are not precomputed by GCC (occurs on MIPS).
Patch from Maciej W. Rozycki.
https://sympa.inria.fr/sympa/arc/mpfr/2009-06/msg00036.html
http://article.gmane.org/gmane.comp.lib.mpfr.general/174
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6274 280ebfd0-de03-0410-8827-d642c229c3f4
|