| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Fix bug in documentation (mpfr_sum wasn't exactly what is decribed).
Improve test.
Change internal names.
Clean up.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3642 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
it is now included by mpfr-impl iff DEBUG is defined or WANT_ASSERT is
defined.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3631 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
macro (mpfr_get_exp is also defined to be a fast macro). Fix this
by removing the macro call in MPFR_GET_EXP in case of ASSERT >= 1.
2 tests failed now!
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3625 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3619 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3606 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Add new macros GROUP_INIT_6 and GROUP_REPREC_6 for zeta and gamma.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3601 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3596 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
Replace TMP_DECL by MPFR_TMP_DECL
Replace TMP_MARK by MPFR_TMP_MARK
Replace TMP_FREE by MPFR_TMP_FREE
Add support for GMP's TMP_SALLOC.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3593 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3581 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3579 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Fix bug in MPFR_SET_ONE.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3560 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
Now all tests passed when mpfr_prec_t is defined to be an unsigned short
on a 32 bit CPU!
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3546 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2. Change the prototype of mpfr_round_raw_2 (remove first argument since it is
useless).
3. Change round_raw_generic to use preprocessor if rather than compiler
to detect if flag == 1 or 0
4. mpfr_round_raw_xxx use const attribute too.
5. Remove mpfr_round_raw_3 since it is unused by MPFR.
6. Add first prototype of MPFR_FAST_COMPUTE_IF_SMALL.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3536 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3481 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3454 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Add group functions macros.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3414 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3410 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
to mpfr_can_round (x, y, GMP_RNDN, GMP_RNDZ, ...)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3386 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3373 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3367 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Add --with-mulhigh-size option at configure time.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3363 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
Do make tune instead of make.
BUT you need to have configure MPFR with --with-gmp-build=...
(It uses internal libspeed.la of GMP).
Tuning is slow...
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3353 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3327 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3312 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Use mpfr_cos as testing example.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3309 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3294 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3291 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
Improve configure (remove unused macros, make dist produce .zip and .bz2)
Update update-version to modify configure.in too.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3281 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Limited to use with GCC and ICC (using extension __thread).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3274 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
It doesn't define MPFR_FLAGS too.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3272 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
| |
mpfr_const_euler. No more access to the cache itself.
Create dummy functions which call the cache, and rename old
functions to "_internal".
Internally, it doesn't change at all (You still call directly
the cache instead of the dummy function which calls the cache).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3271 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
mpfr_set_underflow in mpfr_underflow so that we can add new functions
mpfr_set_underflow and mpfr_set_overflow (which set the global flags).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3269 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3265 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Use them in sub1 and sin.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3260 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Add ZivLoop controler.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3257 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3238 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
(Due to problem on x86 with extended precision).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3226 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3182 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
(Add a test in the configure and a new macro MPFR_HAVE_MPN_SUB_NC)
Add MPFR_LOG2_BIT_PER_MP_LIMB macro
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3181 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
mpz_sizeinbase.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3171 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
directly with MPFR functions rather than using Macros to access
them. It doesn't define MPFR variable inside mpfr.h too.
Fix set.c and cmp.c in consequences.
Fix mpf2mpfr.h to use mpfr_get_default_rounding_mode () if needed.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3135 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
Inline rounding in mpfr_set4 and mpfr_cache
mpfr_set4 dosn't return MPFR_EVEN_INEX (It was undocumented before).
Fix problems with tests (Avoid mixing MPFR_EVEN_INEX and 1).
Add MPFR_RNDRAW_EVEN for rounding with MPFR_EVEN_INEX inexact support
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3121 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
It seems that GCC option `-frename-registers` for mpfr_mul / Athlon XP
improves its performance (But it decreases it on Pentium4)...
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3120 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
Sort README.dev, and add a new section about How to write a MPFR function.
Add a link to README.dev in mpfr-impl.h.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3106 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
from MPFR library since they are useless.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3102 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
by MPFR_SAVE_EXPO macros (DECL, MARK and FREE) which are faster
and thread safe.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3100 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3096 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
To enable it, just build MPFR with MPFR_USE_OWN_TMP_ALLOC.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3092 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Add MPFR_LIMB_ZERO.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3078 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3075 280ebfd0-de03-0410-8827-d642c229c3f4
|