| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
tests/tprintf.c: add tests for %a case
tests/tprintf.c: factorize error message output
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5077 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5066 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
jn.c: replaced double-precision LOG2 constant by binary string (more portable)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5065 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
than the minimum allowed value, which produced an exponent wrap-around
and a wrong result in mpfr_mul). Not sure if all problems are solved,
nevertheless __gmpfr_emin is now in the allowed range.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5059 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
that rndnext will really be initialized later), and added an assert to
check that this value isn't propagated to rnd.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5057 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5056 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5055 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
large negative x and large odd negative y)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5054 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5023 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5018 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5008 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5007 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4999 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
i.e. if the printf-like functions are defined.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4997 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
| |
* Non-standard headers should be included after the standard headers
(when possible).
* The setlocale function is used only if <locale.h> has been included.
* Use tests_start_mpfr / tests_end_mpfr; this shows a bug:
tests_free(): attempt to free bad pointer 0x1801200
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4996 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4995 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mpfr.h: add mpfr_printf-like functions
printf.c: printf, sprintf, snprintf, asprintf and 'v' variants
vasprintf.c: vasprintf functions used by its likes
mpfr.texi: add description for printf family functions
tests/Makefile.am: add test for printf
tests/tprintf.c: tests for printf-like functions
acinclude.m4: define HAVE_LOCALE_H
mpfr-impl.h: define MPFR_DECIMAL_POINT even if no locale.h
strtofr.c: remove locale.h inclusion (done by mpfr-impl.h )
tests/tests.c: use HAVE_LOCALE_H
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4993 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
value) exhaustively (running tisqrt is still immediate on a recent
machine).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4991 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4990 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4982 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4978 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
of zeta(large negative) was also wrong in GMP_RNDU: -Inf instead of the
largest negative MPFR number).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4969 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
exit calls)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4957 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
tset_f.c add checking with random values
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4956 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
test.c: fixed seed for reproducable errors
trandom.c tpow_z.c tset_f.c: integration with GMP_CHECK_RANDOMIZE process
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4955 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4954 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
random functions (mpn_random*, mpz_random*, mpf_random*). Now all tests use
either RANDS (which is cleared by tests_rand_end called by tests_end_mpfr),
or the gmp_randstate_t mechanism.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4953 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4952 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4950 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4944 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
which is in fact a bug in mpfr_pow_z.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4943 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
mpfr_dump that was left by mistake.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4942 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
occurs on x^y with x negative and y an integer whose exponent is > 256
(so that mpfr_pow_z isn't used, and the generic code is used instead and
fails because x is negative).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4938 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4937 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
(-> assertion failure in the current pow.c code).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4936 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4933 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
mpfr-impl.h: fixed typo
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4932 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
improved MPFR_FAST_COMPUTE_IF_SMALL_INPUT case for x > 0
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4929 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
(had to implement a complete loop in that case)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4928 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4927 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
account cancellation)
tests/tjn.c: now "tjn p n z" evaluates j(n,z) to precision p
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4924 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4920 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4919 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4918 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4917 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4916 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4915 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
or INT_MAX.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4907 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4904 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
tli2.c: add a function for fixed value checking
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4898 280ebfd0-de03-0410-8827-d642c229c3f4
|