| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* Copyright notice update in most files: added 2018.
* tools/ck-mparam: in the copyright notice, just keep the year 2011
since this file is not part of the tarball (just used by mpfrlint).
* doc/mpfr.texi: updated the month.
(merged changesets r12067-12069 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12077 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that this cannot happen again without being detected: on zero, +1 or -1
was sometimes expected to check the sign of zero, but mpfr_sgn actually
returned 0, so that the check always succeeded whatever the sign of the
null result.
* mpfr-test.h: define a new mpfr_sgn macro that fails when used on NaN
or zero (whose sign is not +1 or -1), except when MPFR_TESTS_TSGN is
defined.
* tacos.c, tasin.c, tasinh.c, tatanh.c, tcbrt.c, tdim.c, terf.c,
texp.c, texp10.c, texp2.c, texpm1.c, tset.c, tset_str.c: replaced
the incorrect use of mpfr_sgn; some other related improvements.
Note: in tset.c, a "mpfr_sgn (x) < 0" test had to be replaced by
"MPFR_IS_POS (x)" since we really want to test whether the sign
is positive (not negative).
* tdiv.c, tmul.c, tui_div.c: simplified some tests, in particular to
avoid a failure with the new mpfr_sgn macro for the tests; here,
the use of mpfr_sgn was correct, but one could do simpler.
* tgmpop.c: replaced "mpfr_sgn (z)" by "(mpfr_sgn) (z)" to avoid the
new mpfr_sgn macro (here, we really want the mathematical sign).
* tsgn.c: define MPFR_TESTS_TSGN as the goal of this program is to
test mpfr_sgn itself (both the function and the macro in mpfr.h).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11755 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
| |
as they are reserved when <signal.h> is included (ISO C, 7.31.7),
which happens to be the case in tests/tests.c, which also includes
tests/mpfr-test.h and src/mpfr-impl.h indirectly.
* src/mpfr-impl.h, tests/mpfr-test.h: renamed macros:
SIGN → VSIGN
SIGN_RAND → RAND_SIGN
* {src,tests}/*.{c,h}: updated the names in the use of these macros.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11476 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
|
|
|
|
|
|
| |
missing) by mpfr_dump.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10252 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
this revealed a special-case code in mpfr_exp which didn't work for prec=1
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9955 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
Contributed by the AriC and Caramel projects
by
Contributed by the AriC and Caramba projects
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9941 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/ (\d{4}-)?(2015)(?= Free Software)/
" ".($1||"$2-").($2+1)/e' **/*(^/)
under zsh (the m4 and tools/mbench directories were not modified).
Removed 2015 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9779 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/ (\d{4}-)?(2014)(?= Free Software)/
" ".($1||"$2-").($2+1)/e' **/*(^/)
under zsh, reverting the tools/mbench directory (not distributed with
MPFR). Removed 2014 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9278 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/ (\d{4}-)?(2013)(?= Free Software)/
" ".($1||"$2-").($2+1)/e' **/*(^/)
under zsh (the tools/mbench directory was not modified).
Removed 2013 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8723 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8540 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/2012 Free Software/2012, 2013 Free Software/' **/*(^/)
under zsh, reverting the ChangeLog file and the m4 directory
(the tools/mbench directory was not modified).
Removed 2012 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8447 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
(<limits.h>, <stdio.h>, <stdlib.h>). Note: this change doesn't apply
to tvalist.c, which is a special test that doesn't use "mpfr-test.h".
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8054 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
perl -pi -e 's/Contributed by the Arenaire/Contributed by the AriC/' **/*(^/)
under zsh.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7993 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/2011 Free Software/2011, 2012 Free Software/' **/*(^/)
under zsh, reverting the ChangeLog file (the m4 and tools/mbench
directories were not modified).
Removed 2011 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7986 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7705 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
thanks to the mpfr_cmp_si (x, -27282) in erfc.c, for 1b).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7572 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
in a reduced exponent range.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7570 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7568 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7565 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
on 64-bit machines, erfc() wrongly underflows for x >= 27282
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7564 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/2010 Free Software/2010, 2011 Free Software/' **/*(^/)
under zsh, reverting the ChangeLog file and the m4 and tools/mbench
directories.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7389 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
perl -pi -e 's/2009 Free Software/2009, 2010 Free Software/' **/*(^/)
under zsh, reverting the ChangeLog file and the mbench directory.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6684 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
and updated all the references (except in ChangeLog).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6351 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6053 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6050 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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5654 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mpfr_inits2, mpfr_clears, always use the type mpfr_ptr (no longer
void *). Updated the description of these functions in the manual
(mpfr.texi). The reason is that the C standard does not guarantee
that (void *) 0 has the same representation as a null pointer to
a structure (and even the same size). In most C implementations,
the representations are the same, but one never knows (dynamical
checking is also always possible)...
The change has been done with: perl -pi -e \
's/(mpfr_(clear|init)s.*)\(void *\*\) *0\)/$1(mpfr_ptr) 0)/' **/*.c
under zsh.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5290 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@4919 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
numbers for some functions.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4811 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
that the data files exist and return an error whenever a file cannot
be opened. In the other versions, return silently if the file cannot
be opened.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4701 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
MPFR_CHECK_ALL is defined (some table entries were checked by MuPAD)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4688 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4647 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4635 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
argument (-> (void *) 0).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4557 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@4239 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
fixed problem in erfc for large input
reduced tests that took too much time
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4237 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4231 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
arguments, and call to MPFR_WARNING with return value NaN for huge arguments)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4219 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4218 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4216 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4212 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4055 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
|
|
|
|
|
|
|
| |
are sometimes stripped).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3726 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3724 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3606 280ebfd0-de03-0410-8827-d642c229c3f4
|