| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14169 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
the rootn function", now that IEEE 754-2019 is there (needed as
rootn was underspecified in IEEE 754-2008, so that TS 18661-4
incorrectly specified the case rootn(-inf, n even); see WG14 N2309
from the C FP group for the correction).
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14165 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14163 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14162 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14160 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(mpfr_printf, etc.): completed r14155.
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14158 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14157 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
the precision consists only of a period.
* doc/mpfr.texi: correction and clarifications (be closer to ISO C);
note the change in Section "API Compatibility".
* src/vasprintf.c: fixed the bug.
* tests/tsprintf.c: update.
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14155 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
corresponding signed integer with the two's complement rule (i.e.
modular arithmetic) but in a portable way.
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14143 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14132 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
features (as "long long" is currently needed by src/get_ld.c in the
case GMP_NUMB_BITS == 8).
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14131 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
say C90 (C89 is the ANSI version). The GCC manual uses "C90" rather
than "C89", so this is probably better anyway.
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14129 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
the POSIX (thus less portable) lrand48() and srand48().
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14114 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14108 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14102 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14097 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
also mention potentially exact cases.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14096 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
conversions between binary and decimal types.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14093 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
--enable-assert=full should not be used (too expensive, not needed).
[tests/tjn.c] Added a related comment for the expensive bug20200703
test (which may take more than 1 hour with --enable-assert=full).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14060 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
mpfr_get_str_ndigits.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14031 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14029 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14015 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13993 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13992 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
other predicates (by convention, the function name should end with _p).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13989 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13986 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13980 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13976 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13975 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13974 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13971 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13966 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13959 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13958 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13913 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
[tests/tgamma.c] use MPFR_CHECK_EXPENSIVE
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13908 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
radices β are actually not concerned since in such radices, β^k
is always odd, so that the exponent does not matter.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13898 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
| |
about the even-rounding rule in particular cases: 1-digit precision
and odd radices.
Note: A short explanation was already in the mpfr_get_str description,
which is where the issue could occur at the time the minimum precision
of MPFR numbers was 2. Now that the minimum precision is 1, this rule
in such special cases is more general.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13897 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13896 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
to the more common "{less,greater} than or equal to".
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13895 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
to Section "Rounding".
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13893 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13892 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
* Added a note about the sign of the result (important for 0).
* Described the directed rounding modes (BTW, this notion of
"directed rounding modes" was used but never defined).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13891 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
* Be more clear that MPFR_RNDN uses the even rounding rule.
* In "two representable numbers", add "consecutive".
* Be more general than radix 2 (due to conversions to a string).
* Consistent typography.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13890 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
* mpfr_init2: mention mpfr_prec_round; added a note about
memory allocation.
* mpfr_prec_round: clarification ("new allocation" could be
surprising since one needs less memory).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13889 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
in case the allocated memory is enough
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13888 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
under Debian/unstable.
Note: The generated mpfr.html and mpfr.info files remain the same.
In mpfr.pdf, there are minor changes concerning horizontal spacing
in paragraphs with a URL.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13881 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* INSTALL, acinclude.m4, configure.ac: --enable-decimal-float can
take new values. Change of macro DPD_FORMAT (DPD was assumed in
case of cross-compilation, which could be wrong) to 3 new macros:
DECIMAL_DPD_FORMAT, DECIMAL_BID_FORMAT, DECIMAL_GENERIC_CODE.
* doc/README.dev: documented these 3 new macros.
* src/mpfr-impl.h: the detection of the BID encoding can now be
done at compile time when GCC defines __DECIMAL_BID_FORMAT__
(as on x86); support of the 3 new macros.
* src/{get_d64.c,set_d64.c,set_d128.c}: update.
* tests/{tget_set_d64.c,tget_set_d128.c,tversion.c}: update.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13878 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13875 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
of the bug report.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13874 280ebfd0-de03-0410-8827-d642c229c3f4
|