| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* Export the tests_memory_limit variable so that it can be accessed in
test programs (e.g. read by tversion as mentioned below, or modified
by a test program when executed with particular arguments).
* In tversion, print a warning when the memory limit has been modified
(with the MPFR_TESTS_MEMORY_LIMIT environment variable).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10460 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
now contain an integer specifying the memory limit for the tests, or 0
for unlimited, the default still being 2^22 = 4 MB.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10459 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
* Also do the tests with output precision MPFR_PREC_MIN;
this completes the value coverage for tsum.
* Also compare the flags.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10457 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
and sq == MPFR_PREC_MIN, 42 tests were not done for sq == MPFR_PREC_MIN
on a 64-bit machine. In the check4 test, changed a 2 to MPFR_PREC_MIN.
This reduces to 12 tests that are not done.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10456 280ebfd0-de03-0410-8827-d642c229c3f4
|
|\
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10450 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| | |
as the ' flag is an extension from Single UNIX Specification and
in particular, they fail with MinGW under Wine.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10449 280ebfd0-de03-0410-8827-d642c229c3f4
|
|\ \
| |/
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10448 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10447 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10445 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10444 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| | |
tcc 0.9.27~git20151227.933c223-1 (there's already one in special(),
but this one is a simpler, standalone test).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10442 280ebfd0-de03-0410-8827-d642c229c3f4
|
|\ \
| |/
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10439 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| | |
and absence of signed zeros. Also fixed the code checking the sign
of 0 (mpfr_sgn cannot be used for that since it returns 0 for ±0).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10429 280ebfd0-de03-0410-8827-d642c229c3f4
|
|\ \
| |/
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10425 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10424 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10423 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10422 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10420 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10419 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| |
| | |
that the add1sp and sub1sp conditions are satisfied with the current
src code, these tests may rely on the fact that there are no trailing
bits, i.e. that the precision is a multiple of GMP_NUMB_BITS).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10418 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| | |
is twice the precision of each input, which can currently involve
add1sp.c and sub1sp.c code.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10403 280ebfd0-de03-0410-8827-d642c229c3f4
|
|\ \
| |/
| |
| |
| |
| | |
trunk.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10388 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| | |
test case, added in r10383).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10386 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In MPFR_RNDN (rounding to nearest), when |b| is the midpoint between
the maximum number and 2^emax (the maximum number + 1 ulp) and c is
small, the obtained result is an infinity (with overflow) instead of
± the maximum number (no overflow). The cause is that an overflow is
generated too early (in the rounding code).
[tests/tsub.c] Added test cases.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10383 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10373 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10365 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10361 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10360 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10359 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10382 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| | |
in sub1.c (because UBF support is not complete yet).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10381 280ebfd0-de03-0410-8827-d642c229c3f4
|
|\ \
| |/
| |
| |
| |
| | |
_MPFR_PROTO of UBF functions.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10357 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| |
| | |
while (<>) { if ($c) { die if /_MPFR_PROTO/; s/^( {$c}) */$1/;
s/\) *\)/)/ and undef $c } elsif (s/^(.*)(_MPFR_PROTO *\()\(/$1(/)
{ s/\) *\)/)/ or $c = 1 + length $1 } print }
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10356 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| | |
and check fp (just like with FILE_NAME_R).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10342 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10339 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10338 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| | |
this time really in fmma.c).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10341 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10340 280ebfd0-de03-0410-8827-d642c229c3f4
|
|\ \
| |/
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10337 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10328 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10327 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10326 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10324 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10316 280ebfd0-de03-0410-8827-d642c229c3f4
|
|/
|
|
|
|
| |
but changed the exponent range and still had various issues).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/ubf@10315 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10307 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10306 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
* tadd_ui.c: clean-up (a boolean test doesn't need "!= 0").
* tsub_ui.c: check that the NaN flag is set on NaN.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10303 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
flag when the result is NaN (almost all cases). This makes both tadd_ui
(ignoring the new test done in r10298) and tsub_ui fail.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10299 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10298 280ebfd0-de03-0410-8827-d642c229c3f4
|