| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
using mpfr_strtofr instead of mpfr_set_str (merged part of changeset
r12783 from the trunk).
[tests/tget_set_d64.c] Added tests on powers of 10, checking the ternary
value in particular (merged part of changeset r12782 from the trunk).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12786 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
GCC 8.1 by adding casts "(long *) (void *)", still allowing checks of
other alignment requirements (which are not handled by the tstckintc.c
code).
(merged changeset r12698 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12785 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
* Added codespell.exclude file.
* codespell.ignore: removed some words (particular cases).
* tools/mpfrlint: use the codespell.exclude exclude file, and for
the doc directory, replaced -S by an explicit list of files.
(merged changesets r12486,12497,12753-12754 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12760 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
Note that with the current MPFR code, these typos did not have
any consequence.
(merged changeset r12749 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12750 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12743 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(marked changeset r12740 as merged from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12741 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(merged changeset r12734 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12736 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
* faq.xsl: for the visual.css, use a local URL since libxml2 does not
support https.
* update-faq: download visual.css from mpfr.org first.
* FAQ.html: update with update-faq.
(merged changesets r12731-12733 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12735 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
| |
the stream was a null pointer, it was replaced by stdin and stdout,
respectively. No longer do that, since:
* This behavior was useless, not documented, and not consistent
with other I/O functions.
* Just in case a null pointer for the stream has a special meaning
with some C implementation, MPFR was not behaving as documented.
(merged changesets r12520-12521 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12680 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
was set by mpfr_set_q, but the flags were not restored just after.
[tests/tgmpop.c] For mpfr_cmp_q, improved the test where x is NaN by
checking all the flags (not just erange) and added a test where y is
a NaN rational.
(merged changesets r12343,12677 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12679 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12675 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
* Output svnversion info when applicable.
* Do not echo (complex) commands.
* Do not output a useless "PASS ..." line at the end.
(merged changesets r12535-12536 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12674 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
mpq_t argument is 0.
[tests/tgmpop.c] Added tests.
(merged changesets r12499,12502 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12664 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12663 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12662 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
output in the string is now fully supported, i.e.
* the value 1 can be provided for n (4th argument);
* if n = 0, then the number of significant digits in the output string
can now be 1, as already implied by the documentation (but the code
was increasing it to 2).
Changes:
* doc/mpfr.texi: updated mpfr_get_str description to accept n = 1.
* src/get_str.c: fixed the code as explained above (for n = 0,
removed the increase to 2, and removed an MPFR_ASSERTN).
* tests/tget_str.c: added tests.
(merged changesets from the trunk: r12430 on tests/tget_str.c only;
r12432,12434,12440)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12642 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
the implementation would change.
(merged changeset r12631 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12632 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12630 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
[tests/tsqr.c] Added tests, including non-regression for above bug
(manually patched src/sqr.c since r12398 had other, unrelated changes;
merged changesets r12398-12399 on tests/tsqr.c from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12629 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
[tests/tfma.c] Added tests.
(merged changesets r12393-12405,12583-12623 on these files from the
trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12624 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
| |
unconditional #include <math.h> occurrences.
Note: There is an incompatibility between glibc 2.27 and the math.h
provided by ICC 15 (at least), and this solves a compilation failure
in the build of the tests.
Moreover, <math.h> is not required by freestanding implementations,
so that it may be better to avoid it if possible.
(merged changeset r12488 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12581 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
by its default value 8448 (since the definition of MUL_FFT_THRESHOLD
has not been moved in the 4.0 branch).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12580 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12579 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
--enable-assert=full configure option (signaled by GCC's -Wformat).
(merged changesets r12301-12302 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12578 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
"Generic ABI code" info (MPFR_GENERIC_ABI).
(merged changesets r12447,12575 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12577 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
This fixes the failures from r12288.
(merged changeset r12285 from the trunk; note that the merge for
the tests directory had already been done via r12288)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12576 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(merged changeset r12421 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12480 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(merged changeset r12474 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12475 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
("cas"; "iff" as used in math; "nd" as the n comes from \n in printf,
but nd could also be a variable name; "te" as used as a variable name).
Updated tools/mpfrlint to use this file with codespell.
Fixed spelling mistakes found by codespell 1.11.0.
(merged changesets r12467-12469 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12470 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12465 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(merged changeset r12462 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12463 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
the condition sh >= 0 needs to be fixed to sh > 0...
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12431 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
is incorrect with some C implementations. It came from r7047.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12428 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
tsub and tsub1sp fail (bug fixed in the trunk) with both 32-bit and
64-bit ABI's, except when MPFR is built with "-DMPFR_GENERIC_ABI".
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12288 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
in r12257.
(merged changesets r12256-12257 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12258 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
in r12243.
(merged changeset r12246 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12247 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(merged changeset r12221 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12224 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
* tset_float128.c, tset_ld.c: removed obsolete WITH_FPU_CONTROL
related code.
* Added/updated comments about the config.h inclusion.
(merged changesets r12214-12215 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12216 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(merged changeset r12212 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12213 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12211 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
[tools/mpfrlint] Updated test to detect minimal GMP version mismatch.
(merged changeset r12208 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12209 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
[tools/mpfrlint] Added a test to detect minimal GMP version mismatch.
(merged changeset r12206 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12207 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12203 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12201 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12200 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
[tools/announce-text] For releases, check the VERSION file of the tag.
(merged changesets r12197-12198 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12199 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
mp_limb_t > unsigned long (e.g. on mips64 with the n32 ABI).
Corrected comments.
(merged changesets r12193-12194 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12195 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12192 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
* Replaced calloc + free by tests_allocate + tests_free as usual.
* Replaced some fprintf with stderr by printf.
* Do bitwise operations in unsigned arithmetic.
* Formatting.
(merged changesets r12188-12190 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12191 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
i.e. after potential output (to stdout).
* tremquo.c: moved the call to tests_start_mpfr to the beginning.
* tset_float128.c, tset_ld.c: removed the optional, obsolete code
setting the FPU control word; MPFR_FPU_PREC can be used instead
(see tests.c).
[tests/tests.c] Make stderr unbuffered again.
Note for the history: both stdout and stderr were made unbuffered in
r2361, then all stderr were changed to stdout (and the corresponding
setbuf on stderr removed) in r2449 for consistency, but stderr was
used later for specific cases (e.g. memory allocation errors or when
stdout is already used for something else), and it is also used for
assertion failures. Thus the setbuf on stderr is still needed.
(merged changesets r12185-12186 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12187 280ebfd0-de03-0410-8827-d642c229c3f4
|