| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
incorrect result with tcc: x.s.exp is declared as an unsigned
bit-field, so that tcc considers that x.s.exp - 1023 is unsigned.
However, since all the values of x.s.exp are representable in an
int, according to the integer promotion rules, x.s.exp should be
converted to an int, so that the subtraction is signed. So, this
appears to be a bug in tcc.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10443 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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
in the "if (fb > 0)" branch.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10435 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
by comparisons with the maximum finite binary128 number. Changes to be
similar to the handling of infinities in "src/set_ld.c".
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10434 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10433 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
and implementation.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10432 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10431 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
generates a divide-by-zero exception. Suggest a solution.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10430 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
|
|
|
|
|
|
| |
when GMP_NUMB_BITS == 32.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10426 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/trunk@10417 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
mpfr_overflow (x is not an input in these functions).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10396 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
and printf. Removed 2 MPFR_LOG_VAR, as the variable is not normalized
yet. Re-added #ifdef DEBUG for the MPFR_LOG_MSG's since this may be
too low level and not much useful except in case of bugs.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10395 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10390 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@10378 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
unsigned long, which is implementation-defined, to unsigned int.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10377 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10376 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
error: ISO C does not allow extra ';' outside of a function [-Wpedantic]
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10375 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10374 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10373 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
arguments has always been documented).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10372 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
added in r6734).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10371 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10370 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10369 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10368 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10367 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10366 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10365 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@10363 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10362 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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
(without this, "automake --warnings=all" gives a warning).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10355 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
|
|
|
|
|
|
|
| |
AM_PROG_AR (no longer needed as done by LT_INIT) and AC_PROG_RANLIB
(obsoleted by LT_INIT).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10353 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10352 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10351 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10349 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10348 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
* Some changes related to the exponents and diff_exp.
* Coding style + use of IS_POW2.
* Use logging instead of #ifdef DEBUG and printf.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10347 280ebfd0-de03-0410-8827-d642c229c3f4
|