| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5864 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5862 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
acinclude.m4: Remove detection of type modifier 'q'.
vasprintf.c: Remove support of type modifier 'q'.
tests/tfprintf.c tests/tprintf.c: Remove tests with type modifier 'q'.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5835 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
No longer check libc's printf.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5827 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
with MS Windows)
tests/tfprintf.c tests/tprintf.c tests/tsprintf.c: do not check %Ld specification when not available.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5826 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
perl -pi -e 's/2008 Free Software/2008, 2009 Free Software/' **/*(^/)
under zsh.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5814 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
| |
"%jd", "%qd", and "%td" conversion specifications in printf and gmp_printf.
configure.in: Call MPFR_CHECK_PRINTF_SPEC when we can link against a suitable gmp library and run test programs at compile time, otherwise (for instance, when cross compiling), everything is enable by default.
vasprintf.c: Disable support for length modifiers not supported by libc's printf ('j' and 'q' for this time).
tests/tprintf.c, tests/tfprintf.c: Disable tests for length modifiers not supported by gmp_printf ('j', 'q', and 't' for this time).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5801 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
quad_t support
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5760 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
| |
mpfr-*printf.
vasprintf.c: Do not take quad_t as a long long but as an insupported length modifier.
acinclude.m4: Remove check for quad_t.
tests/tprintf.c tests/tfprintf.c: Remove tests with 'q' length modifier.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5753 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
vasprintf.c: Accept length modifier 'q' if HAVE_QUAD_T is defined (instead of HAVE_LONG_LONG).
README.dev: Add notice for new HAVE_QUAD_T macro.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5748 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5654 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5441 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
vasprintf.c: use TMP_ALLOC instead of variable-length array (C99).
tests/tfprintf.c tests/tsprintf.c: #define length of array instead of const int so as to avoid variable-length array (C99).
tests/tprintf.c: #define length of array instead of const int so as to avoid variable-length array (C99).
remove use of function dup (dependency with <unistd.h>).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5408 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
But the following 3 tests currently fail with g++ 4.3.1:
FAIL: tprintf
FAIL: tsprintf
FAIL: tfprintf
This is an "Illegal instruction" error, so probably a bug in g++.
[Edit: acinclude.m4 now uses gl_SIZE_MAX, typically from size_max.m4,
but which is not installed on all machines; this will be added to the
MPFR repository in changesets 5680 and 5683.]
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5385 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
(fixes bug #5556).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5353 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
vasprintf.c: raise an error when it encounter an unsupported format in format
string.
tests/tfprintf.c: HAVE_SDTINT_H -> _MPFR_H_HAVE_INTMAX_T
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5341 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5219 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Moved the MPFR_THREAD_ATTR definition from mpfr-impl.h into a new
header file mpfr-thread.h, and updated Makefile.am accordingly.
* Removed the compiler check __MPFR_GNUC(3,3) || __MPFR_ICC(8,1,0)
as this test leaded to both false positives and false negatives
concerning TLS support. Assume that __thread should be used for
thread-local variables (except for the MS compiler).
* Added a configure test to acinclude.m4 (in MPFR_CONFIGS).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5212 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/2007 Free Software/2007, 2008 Free Software/' **/*(^/)
under zsh.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5151 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5063 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vasprintf.c:
* No longer depend on toupper (which returns locale-dependent results)
to generate 'A'..'F' (see C standard).
* Removed #include <ctype.h> which was hiding a bug (see below).
* Added missing #include <wchar.h> if HAVE_WCHAR_H is defined. But
the compilation fails if <wchar.h> doesn't exist due to the use of
wchar_t and wint_t.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5014 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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4989 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4988 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4987 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
is currently useless, except for the corresponding information).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4986 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4985 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
from the change done in r4350).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4800 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4326 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4104 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
and will fail on platforms with gcc and CHAR_BIT != 8.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4083 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4057 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3985 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
| |
http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices
i.e. added 2006 to every MPFR file.
Note: the copyright notices (currently 336) should match the regexp
Copyright.* 2006 Free Software
so that it will be easier to update them for the next year...
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3983 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3775 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3773 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
Add comment.
Add a new test: check if the charset has consecutive values.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3676 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3671 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
MPFR under various locales, showing a bug in the parse_string function
due to the use of the strncasecmp function ('i' and 'I' don't match
with LC_ALL="tr_TR.ISO8859-9").
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3670 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
+ Remove useless test in MPFR_CONFIGS (Check for valid NAN).
Its result is not use by MPFR.
+ Remove useless macros (AC_CHECK_OS, AC_CHECK_MACH and AC_MY_HEADERS).
+ Move detection of math/rint,round,floor,ceil to MPFR_CONFIGS.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3659 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
Improve configure (remove unused macros, make dist produce .zip and .bz2)
Update update-version to modify configure.in too.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3281 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3253 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3177 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3176 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3136 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3068 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3066 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
(originally for MPFR 2.0.3).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3060 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Display GMP version inside the configure.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3023 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2973 280ebfd0-de03-0410-8827-d642c229c3f4
|