| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
mpfr_dump. Replaced some "mpfr_out_str (stdout, 2, ...)" by mpfr_dump
for consistency or as improvements. Some other corrections in the
related error messages.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11750 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11749 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11748 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
the .c file has a main() function; this avoids an error on trootn_ui.c,
which just does a #include.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11747 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
* Use mpfr_set_zero instead of mpfr_set_ui / mpfr_neg (like what was
done for the infinity, using mpfr_set_inf).
* For exact cases (NaN, ±Inf, ±0), check that the ternary value is 0.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11746 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
we set the target y to NaN with the wrong sign, so that if the code of
the function forgets to do something, this will be detected.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11745 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11744 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
was always false, thus useless!).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11743 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11742 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/root.c: mpfr_rootn_ui is now the main code, and mpfr_root calls
mpfr_rootn_ui.
* src/mpfr.h: added mpfr_rootn_ui prototype; marked mpfr_root as
deprecated.
* Added tests/trootn_ui.c (includes troot.c).
* tests/troot.c: made it usable (via #include) by the new trootn_ui.c
test.
* tests/Makefile.am: added trootn_ui; at the same time, corrected the
order of the test programs (lexicographic, with exceptions).
* NEWS, TODO, doc/mpfr.texi: update.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11741 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11740 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
mpfr-test.h only instead of tgeneric.c and tversion.c.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11739 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
concerns the .ps file only (the .dvi file has no papersize info).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11734 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
papersize of the generated dvi and ps files, which may be incorrect
(bug in texinfo(?) reported as Debian bug 874632).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11733 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11729 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
http://gmplib.org → https://gmplib.org/
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11728 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
ftp://ftp.gnu.org/gnu/mpfr/ → https://ftp.gnu.org/gnu/mpfr/
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11727 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11726 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11724 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11715 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11714 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
on MS Windows without the GMP build directory (r11712 contained
inconsistent function names, yielding "unresolved external symbol"
errors in tabort_defalloc1.obj), second try.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11713 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
| |
MS Windows without the GMP build directory. See:
https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00009.html
https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00014.html
i.e. for the mpfr_allocate_func, mpfr_reallocate_func & mpfr_free_func
external TLS variables, one does the same thing as what had been done
for the other ones (__gmpfr_flags, __gmpfr_emin, __gmpfr_emax, etc.).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11712 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11711 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
the "'" flag with a non-glibc C library (SUS extension in printf).
In particular, it is not supported by AIX 7.2.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11706 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
non-single-byte characters (as found on FreeBSD 11 in fr_FR.UTF-8),
revert to the default value. Added a FIXME to support multibyte
decimal_point and thousands_sep.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11705 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11704 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
by test programs.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11702 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11701 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
tfpif_rw.dat, tfpif_r1.dat and tfpif_r2.dat respectively.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11700 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
| |
* toutimpl.c: Changed the filename of the result file like what
has been done in other test programs, to make sure that it will
not be reused by mistake. Removed comments about tmpname (which
does not exist).
* Makefile.am: Added this filename to CLEANFILES (even though the
file is removed by the test program, an error could occur before
its actual removal).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11699 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tfprintf.c, tout_str.c, tprintf.c: Do not use the same filename
for result files created in these test programs, as this breaks
parallel tests (note that such files are used only if /dev/null
does not work, so that Unix-like systems were not affected).
This should fix the bug reported in
https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00000.html
as said in
https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00005.html
* Makefile.am: added a CLEANFILES line with these files.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11698 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(merged changesets r11691-11694 from the 3.1 branch)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11695 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11690 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11688 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11679 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11678 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
updated too.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11677 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11676 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11675 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(symbolic links) to avoid a failure when a file is being edited.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11674 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
* Renamed check_inits_clears to ck-inits-clears (the other "check"
scripts have a name starting with "ck-").
* mpfrlint: updated the invocation of this test, simplifying it to
make it similar to the other ones (it was based on old code).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11673 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
since the hardcoded values would be different.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11669 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
(MPFR_LIKELY(expr)) || (ASSERT_FAIL(expr),0)
by
(MPFR_LIKELY(expr)) || (ASSERT_FAIL(expr),MPFR_ASSUME(expr),0)
as a workaround to the fact that mpfr_assert_fail is not marked as
"no return" (bug 21415). Thus, after this code, expr must be true.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11664 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
platform ABI or MPFR version.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11663 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11662 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
test with several rounding modes and exponent ranges), because a second
reproducibility test will be added.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11661 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
| |
* In underflow_tests, test the flags in all cases (not just when the
returned result is 0), possibly by first computing the result in a
large exponent range.
* Since the flags are now well tested in underflow_tests, no longer
test them in the second test of test_urandom for k = 0, which was
the incorrect test that was failing (see r11659).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11660 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
a "mpfr_urandom() returns incorrect flags for emin = 1" failure
when GMP_CHECK_RANDOMIZE is not set (default).
Note: It is this test that is actually wrong (it corresponds to the
old behavior, currently found in the 3.1 branch, and was not updated
after the mpfr_urandom code was fixed).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11659 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11658 280ebfd0-de03-0410-8827-d642c229c3f4
|