| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5286 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5284 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5258 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5257 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5254 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5249 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5242 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5203 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5202 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5182 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5181 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5180 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5177 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
function domain
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5176 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5172 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* strtofr.c: for mpfr_strtofr, data corresponding to NaN can now have
an optional sign (since the documentation said that parsing followed
the standard C strtod function and this change makes invalid data
now valid, so that there should be no compatibility problems).
* tests/tstrtofr.c: changed the test for -42P17 in base 16 (this was
eventually regarded as a documentation bug); added tests.
* mpfr.texi: almost completely rewrote the specification of the
mpfr_strtofr function. Changes:
- the binary exponent is now accepted even without the 0b or 0x
prefix;
- data corresponding to NaN can now have an optional sign (this was
a bit ambiguous);
- many other ambiguities avoided.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5167 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@5148 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5138 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5074 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5070 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
notes at the end of the README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5006 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5005 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
is what the IEEE-754 standard uses, and we have mpfr_nexttoward).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5004 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5003 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@4933 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4925 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
corrected typo
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4921 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4913 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4912 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
| |
emax - emin >= PREC(x) wasn't necessary: the value of emax doesn't
matter, except when the exponent is increased due to the rounding.
So, we just document that if the result cannot be represented in the
current exponent range, the behavior is undefined (updated mpfr.texi
accordingly). Removed the assertion from subnormal.c and added a new
one to have an abort if such an undefined behavior occurs.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4905 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4896 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4887 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4886 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4885 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
updated other references, and Contributors section
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4884 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4883 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
removed old commented functions
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4882 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
put mpfr_can_round in "Rounding Related Functions" (now exported)
exchanged order of sections "Miscellaneous Functions" and "Rounding Related Functions"
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4881 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4880 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4875 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4874 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
and ISO C99).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4873 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
merge code into a single internal function mpfr_rem1.
fix false statement in mpfr.texi: rop and op1 have the same sign for mpfr_fmod
but not for mpfr_remainder and mpfr_remquo.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4869 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4867 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4865 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4864 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
allowed to be identical to the input x
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4839 280ebfd0-de03-0410-8827-d642c229c3f4
|