| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
In particular, it is now set by mpfr_check_range (if t is not zero)
since mpfr_check_range usually comes just after MPFR_SAVE_EXPO_FREE
(which restores the previous flags).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4131 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
I got no failures, even with the old mpfr-longlong.h).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4072 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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3883 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
patch instead.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3834 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
tuneup.c)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3812 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3761 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3744 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3743 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3742 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
modifications.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3741 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
(e.g. from ui_pow_ui)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3739 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
to stderr instead of stdout.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3737 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@3725 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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3606 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@3537 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Add new regression test.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3534 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Add new regression test.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3406 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
It is log2(n+2) ulps so that log2(log2(n+2)) bits!
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3405 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3401 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
longlong's umul_ppmm seems to be buggy on such a system.
Don't use it under HP-UX.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3398 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
Modify tuneup to start with prec=2*BITS_PER_MP_LIMB+1
Fix bug in computing the estimated precision when you switch from N limbs to N+1 limbs.
Add regression tests.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3396 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
mpfr_round_p.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3388 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Restore it before calling mpn_mul.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3384 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Add one extra limb, and still uses mulhigh.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3381 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3377 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Add test. Short Mulder product failed for this.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3376 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3375 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3372 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Update algorithm.tex to describe the estimated error.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3370 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3324 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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3039 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2818 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2780 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2759 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2747 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2696 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Add a small documentation about mpfr_sum.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2671 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
+ You can compile MPFR without gmp internal files (ie gmp-impl.h, gmp-mparam.h, and config.h). You only need gmp.h and libgmp.a. But you can still compile with GMP internal files (configure detects them).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2665 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ Rename MPFR_ALLOC_SIZE in MPFR_MALLOC_SIZE.
+ Add conditionnal -DSMALL directive in mpfr-impl.h.
+ Add new function: sub1sp.
Substraction in case of all the ops have the same prec.
+ Add its test (tsub1sp).
+ Modify a few the tests to avoid comparing mpfr results with double, for portability reason.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2569 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
unsigned).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2563 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
Tiny optimization of mpfr_pow (The case y=0 has been put inside the MPFR_ARE_SINGULAR block).
Tiny optimisation of mpfr_set_ui.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2554 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Reorder the tests.
* Remove mpfr_round_raw_generic and create 4 new functions which replace it, for efficiency reasons.
* Add round_raw_generic.c which is the generic file to create the 4 new functions.
* Add new MACRO: MPFR_RNDUTEST_OR_RNDDNOTTEST which is a faster way to check if (rnd_mode==GMP_RNDU && test) || (rnd_mode==GMP_RNDD && !test).
* Add new MACRO: MPFR_UNSIGNED_MINUS_MODULO.
* Optimize mpfr_can_round_raw.
* Some new defines in mpfr.h to increase compatibility with MPFR v2.0.1 and above.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2550 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
Optimization of mul.c / sub1.c.
Some clean up in the header files.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2537 280ebfd0-de03-0410-8827-d642c229c3f4
|