summaryrefslogtreecommitdiff
path: root/agm.c
Commit message (Collapse)AuthorAgeFilesLines
* Suppress some #define and fix symbol names (makes code cleaner):vlefevre2002-12-161-6/+6
| | | | | | | | | | | | | | | | | | | perl -pi -e 's/__mpfr_flags/__gmpfr_flags/g' **/*.{c,h} perl -pi -e 's/__mpfr_emin/__gmpfr_emin/g' **/*.{c,h} perl -pi -e 's/__mpfr_emax/__gmpfr_emax/g' **/*.{c,h} perl -pi -e 's/__mpfr_default_fp_bit_precision/__gmpfr_default_fp_bit_precision/g' **/*.{c,h} perl -pi -e 's/__gmp_default_rounding_mode/__gmpfr_default_rounding_mode/g' **/*.{c,h} perl -pi -e 's/__mpfr_const_log2_prec/__gmpfr_const_log2_prec/g' **/*.{c,h} perl -pi -e 's/__mpfr_const_pi_prec/__gmpfr_const_pi_prec/g' **/*.{c,h} perl -pi -e 's/_mpfr_ceil_log2/__gmpfr_ceil_log2/g' **/*.{c,h} perl -pi -e 's/_mpfr_floor_log2/__gmpfr_floor_log2/g' **/*.{c,h} perl -pi -e 's/_mpfr_ceil_exp2/__gmpfr_ceil_exp2/g' **/*.{c,h} perl -pi -e 's/_mpfr_isqrt/__gmpfr_isqrt/g' **/*.{c,h} perl -pi -e 's/_mpfr_cuberoot/__gmpfr_cuberoot/g' **/*.{c,h} perl -pi -e 's/^#define __gmpfr_.*\n//' *.h git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2125 280ebfd0-de03-0410-8827-d642c229c3f4
* now mpfr_agm returns an int (inexact flag)zimmerma2002-09-181-7/+13
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2020 280ebfd0-de03-0410-8827-d642c229c3f4
* COPYING -> COPYING.LIB and GPL re-added.vlefevre2002-04-151-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1877 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr_get_d -> mpfr_get_d1 and mpfr_get_d2 -> mpfr_get_d.vlefevre2002-04-071-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1825 280ebfd0-de03-0410-8827-d642c229c3f4
* COPYING.LIB -> COPYING.vlefevre2002-04-051-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1820 280ebfd0-de03-0410-8827-d642c229c3f4
* removed nested TMP_MARK's (problems when configuring gmp with --disable-alloca)zimmerma2002-04-051-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1816 280ebfd0-de03-0410-8827-d642c229c3f4
* fixed pb with two markers (with --disable-alloca)zimmerma2002-04-051-10/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1815 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright line changed.vlefevre2002-03-041-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1713 280ebfd0-de03-0410-8827-d642c229c3f4
* _mpfr_ceil_log2, _mpfr_floor_log2, _mpfr_ceil_exp2 in separate files.vlefevre2002-02-211-47/+0
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1701 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr_{div,mul}_2exp -> mpfr_{div,mul}_2ui.vlefevre2002-02-141-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1699 280ebfd0-de03-0410-8827-d642c229c3f4
* Misc bug fixes and code clean-up.vlefevre2002-02-011-1/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1678 280ebfd0-de03-0410-8827-d642c229c3f4
* Optimization: mpfr_cmp2 now accepts any combination of real argumentsvlefevre2002-01-041-15/+12
| | | | | | | | | and computes the sign of |b| - |c| (in addition to the number of cancelled bits); mpfr_add, mpfr_sub, mpfr_sub1, mpfr_agm and some tests updated to take this change into account. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1641 280ebfd0-de03-0410-8827-d642c229c3f4
* changed Library GPL to Lesser GPLzimmerma2001-11-161-4/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1536 280ebfd0-de03-0410-8827-d642c229c3f4
* added year 2001 in copyright linezimmerma2001-11-161-9/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1524 280ebfd0-de03-0410-8827-d642c229c3f4
* translated french comments to englishzimmerma2001-11-161-6/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1518 280ebfd0-de03-0410-8827-d642c229c3f4
* cosmetic changeszimmerma2001-10-151-16/+36
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1248 280ebfd0-de03-0410-8827-d642c229c3f4
* #include added/removed.vlefevre2001-09-131-0/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1202 280ebfd0-de03-0410-8827-d642c229c3f4
* nested double TMP_DECL'szimmerma2001-06-181-1/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1092 280ebfd0-de03-0410-8827-d642c229c3f4
* check overflow in _mpfr_ceil_exp2zimmerma2001-02-161-0/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@998 280ebfd0-de03-0410-8827-d642c229c3f4
* fixed problems with old K&R compilers (_PROTO missing)zimmerma2001-02-151-3/+6
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@987 280ebfd0-de03-0410-8827-d642c229c3f4
* fixed bug in _mpfr_ceil_exp2 (underflow when exp < -1022)zimmerma2001-01-051-3/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@958 280ebfd0-de03-0410-8827-d642c229c3f4
* simplified _mpfr_floor_log2zimmerma2000-12-221-4/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@951 280ebfd0-de03-0410-8827-d642c229c3f4
* k2r -> ansi stylezimmerma2000-12-211-11/+56
| | | | | | | | removed #include <math.h> by defining auxiliary functions fixed several tiny remaining bugs with NaN/Inf git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@925 280ebfd0-de03-0410-8827-d642c229c3f4
* changed name of mpfr struct fields: _mp_d -> _mpfr_dzimmerma2000-12-181-20/+17
| | | | | | | | | (to detect conflicts with mpf) fixed a few problems in non-STDC headers moved definitions of mpfr-impl.h to mpfr-test.h and created a real mpfr-impl.h git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@897 280ebfd0-de03-0410-8827-d642c229c3f4
* _mp_prec -> MPFR_PRECzimmerma2000-12-151-1/+2
| | | | | | | _mp_d -> MPFR_MANT git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@873 280ebfd0-de03-0410-8827-d642c229c3f4
* Permutation of includes to avoid warnings due to careless multiple definitionhanrot2000-12-151-1/+1
| | | | | | | of ULONG_MAX. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@862 280ebfd0-de03-0410-8827-d642c229c3f4
* replaced log(2.0) by LOG2 [first step in getting rid of math.h]zimmerma2000-12-011-6/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@822 280ebfd0-de03-0410-8827-d642c229c3f4
* changed copyright to Free Software Foundationzimmerma2000-12-011-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@816 280ebfd0-de03-0410-8827-d642c229c3f4
* Infinis, premiere tentative.hanrot2000-11-211-2/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@793 280ebfd0-de03-0410-8827-d642c229c3f4
* protected all macros: xxx -> MPFR_xxxzimmerma2000-10-261-6/+6
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@786 280ebfd0-de03-0410-8827-d642c229c3f4
* unsigned char -> mp_rnd_tzimmerma2000-02-111-8/+9
| | | | | | | SIGN -> MPFR_SIGN git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@472 280ebfd0-de03-0410-8827-d642c229c3f4
* sqrt3 -> sqrtzimmerma1999-10-071-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@371 280ebfd0-de03-0410-8827-d642c229c3f4
* added copyright noticezimmerma1999-07-301-0/+21
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@364 280ebfd0-de03-0410-8827-d642c229c3f4
* using sqrt3boldo1999-07-071-3/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@335 280ebfd0-de03-0410-8827-d642c229c3f4
* new, quick & cleanboldo1999-07-051-60/+28
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@311 280ebfd0-de03-0410-8827-d642c229c3f4
* memory gestionboldo1999-07-011-8/+11
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@241 280ebfd0-de03-0410-8827-d642c229c3f4
* memory gestionboldo1999-06-301-40/+62
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@225 280ebfd0-de03-0410-8827-d642c229c3f4
* Prototypes et quelques causes de warnings corriges.hanrot1999-06-251-4/+13
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@205 280ebfd0-de03-0410-8827-d642c229c3f4
* clear res1/res2zimmerma1999-06-251-0/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@175 280ebfd0-de03-0410-8827-d642c229c3f4
* Marche bienboldo1999-06-221-79/+78
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@122 280ebfd0-de03-0410-8827-d642c229c3f4
* version qui marcheboldo1999-06-181-54/+71
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@104 280ebfd0-de03-0410-8827-d642c229c3f4
* sans instructions de debuggageboldo1999-06-151-8/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@56 280ebfd0-de03-0410-8827-d642c229c3f4
* *** empty log message ***boldo1999-06-141-34/+42
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@25 280ebfd0-de03-0410-8827-d642c229c3f4
* *** empty log message ***boldo1999-06-101-15/+51
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@20 280ebfd0-de03-0410-8827-d642c229c3f4
* Initial revisionhanrot1999-06-091-0/+91
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2 280ebfd0-de03-0410-8827-d642c229c3f4