| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
native integers, which is a Single UNIX Specification extension.
[tests/tsprintf.c] Test the group flag with the P length modifier only
when supported, since the implementation relies on this support.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12964 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fixed detection and use of C11 thread support: the C11 header is
<threads.h>, not <thread.h>.
* Renamed WANT_SHARED_CACHE to MPFR_WANT_SHARED_CACHE for consistency
with the other MPFR_WANT_* macros.
* Added MPFR_THREAD_LOCK_METHOD macro, giving the thread locking
method as a string (when shared caches are enabled).
* doc/README.dev: documented 4 macros for shared caches.
* tests/tversion.c: output MPFR_WANT_SHARED_CACHE and
MPFR_THREAD_LOCK_METHOD information.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12937 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
this is not just about the compiler.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12922 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Optimization made the "undefined reference" error disappear, so that
__float128 was misdetected as being supported.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12921 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
AC_COMPILE_IFELSE to AC_LINK_IFELSE since an error may occur only
at link time, such as under NetBSD:
https://mail-index.netbsd.org/pkgsrc-users/2018/02/02/msg026220.html
https://mail-index.netbsd.org/pkgsrc-users/2018/02/05/msg026238.html
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12915 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
little endian or big endian (this is more than the usual endianness
issue). If this cannot be detected, instead of failing or assuming a
possibly wrong default, switch to the portable code.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12847 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(little or big endian)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12843 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12696 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
in the test program, define the variable outside main() in order to
avoid an error when the -Werror=unused-variable GCC option is used.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12452 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
even when not true (MPFR_STAT_STATIC_ASSERT() was just regarded as a
function call since the macro was not defined, thus did not yield an
error).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12448 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12446 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* __float128 was changed to _Float128 (ISO/IEC TS 18661) in r12391;
also changed the suffix of the constants from "q" to "f128".
* Use __float128 with the "q" suffix as a fallback in order to avoid
regressions with GCC 6- and with C++ mode (g++).
As documented in the GCC manual, this is entirely compatible on most
platforms where both are supported: _Float128 and __float128 are the
same type, and it could be checked that the following prototypes are
equivalent (as expected):
_Float128 f (__float128)
__float128 f (_Float128)
The only potential issues would be on hppa and IA-64 HP-UX, where
__float128 is an alias for "long double" instead of _Float128, in
case the ABI would be different (I have no information about this)
and both would be mixed up with software using the MPFR conversion
functions for binary128 via __float128 or "long double". The worst
thing that could happen is a link error. If the link is accepted,
everything should be fine as the representation doesn't change.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12444 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
2 cases: TRUE and FALSE.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12435 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
2 cases: TRUE and FALSE.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12433 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
selected.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12427 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
[src/get_sj.c] optimized the code when MPFR_INTMAX_WITHIN_LIMB=1
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12426 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12391 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
size information for IEEE extended (not used by MPFR, but this
may be useful information for the user).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12355 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12336 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12335 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12334 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12254 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12253 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/ (\d{4}-)?(2017)(?= Free Software)/
" ".($1||"$2-").($2+1)/e' **/*(^/)
under zsh, reverting the ck-mparam and timings-mpfr.c files and
the mbench directory under "tools" (not distributed with MPFR).
Removed 2017 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12067 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
the cross-compiling case.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11878 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
is known but does not work, no longer fail when --enable-decimal-float
has not been used; just disable decimal floats.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11876 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
incorrectly assumed in case of link failure, if ld returned 1, which
was observed on powerpc-ibm-aix7.2.0.0 [gcc119.fsffrance.org]).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11875 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
| |
* src/vasprintf.c: replaced SIZE_MAX by (size_t) -1, already used
in some other files.
* acinclude.m4: no longer use gl_SIZE_MAX (from m4/size_max.m4).
* Removed m4/size_max.m4 as it is no longer needed (note that the
definition of SIZE_MAX by this file was unnecessarily complex
and potentially incorrect on some platforms).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11852 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
In doc/README.dev, updated the corresponding description.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11506 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11253 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
with ICC 15: we need an AC_RUN_IFELSE, not just an AC_LINK_IFELSE.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11251 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
the realpath command is not found. Suggestion by Trevor Spiteri:
https://sympa.inria.fr/sympa/arc/mpfr/2017-01/msg00013.html
Note: I had to modify the patch to use quadrigraphs, otherwise the
generated configure file was invalid.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11205 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/ (\d{4}-)?(2016)(?= Free Software)/
" ".($1||"$2-").($2+1)/e' **/*(^/)
under zsh, reverting the tools/mbench directory (not distributed with
MPFR). Removed 2016 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11117 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11104 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11103 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
recent ax_pthread.m4 (such as in Debian's autoconf-archive 20160320-1,
which has just appeared in unstable).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10798 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
check whether C99 constants (in particular the __float128 ones, such
as 0x1.fp+16383q) are supported since this is now required with the
__float128 support.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10440 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
be quoted, otherwise the macro is expanded when defined.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10364 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10362 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(done with "autoupdate acinclude.m4").
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10354 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10345 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@10270 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10267 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10192 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
numbers, in case an extended precision / exponent range is used
(however the test is not guaranteed with non-conforming compilers).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10190 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10189 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10188 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10187 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10185 280ebfd0-de03-0410-8827-d642c229c3f4
|