summaryrefslogtreecommitdiff
path: root/init2.c
Commit message (Collapse)AuthorAgeFilesLines
* Change the address of the FSF.pelissip2005-06-021-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3606 280ebfd0-de03-0410-8827-d642c229c3f4
* Replace TMP_ALLOC by MPFR_TMP_ALLOCpelissip2005-05-181-1/+1
| | | | | | | | | | 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
* Add a prototype of own TMP_ALLOC. Don't know if it is a good idea.pelissip2004-11-181-0/+5
| | | | | | | 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 new assertion to check.pelissip2004-11-161-0/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3089 280ebfd0-de03-0410-8827-d642c229c3f4
* Modify a few the allocation scheme without gmp-impl.hpelissip2004-04-071-2/+4
| | | | | | | | Add pseudo-constants __MPFR_EXP_NAN, __MPFR_EXP_ZERO and __MPFR_EXP_INF for future (?) inlining of some functions. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2863 280ebfd0-de03-0410-8827-d642c229c3f4
* Improve comments.pelissip2004-03-261-5/+7
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2857 280ebfd0-de03-0410-8827-d642c229c3f4
* Add 'MPFR_DECL_INIT' macro.pelissip2004-03-101-0/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2832 280ebfd0-de03-0410-8827-d642c229c3f4
* + Better support of non IEEE doubles.pelissip2004-02-061-0/+4
| | | | | | | + 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
* Changed some error messages into assertions.vlefevre2004-01-141-2/+1
| | | | | | | Removed some useless #include's. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2622 280ebfd0-de03-0410-8827-d642c229c3f4
* + Rearrange the code to be more "compatible" with broken systems.pelissip2003-12-221-3/+5
| | | | | | | + Preprocessing checks are done in init2.c since GMP constants can't be used in preprocessing #if. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2590 280ebfd0-de03-0410-8827-d642c229c3f4
* Support of MPFR_PREC_FORMAT.pelissip2003-12-191-1/+1
| | | | | | | Fix a bug in case mp_prec_t = unsigned short. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2586 280ebfd0-de03-0410-8827-d642c229c3f4
* + Add function mpfr_print_mantissa_binary, for debugging reason.pelissip2003-12-091-1/+1
| | | | | | | | | | | | + 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
* Initialize the exp field.vlefevre2003-11-071-2/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2538 280ebfd0-de03-0410-8827-d642c229c3f4
* Some minor optimizations.pelissip2003-11-071-1/+1
| | | | | | | | 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
* Change the internal format of MPFR: ZERO, INF and NAN have special values of ↵pelissip2003-10-271-6/+8
| | | | | | | | | | | | | | exp. Rename MPFR_ESIZE in MPFR_LIMB_SIZE. Rename MPFR_ABSZISE in MPFR_ALLOC_SIZE. Rename MPFR_INIT in MPFR_TMP_INIT (INIT1 too). "mpfr.h" includes <gmp.h> if GMP isn't detected. Change the way of detecting stdio.h (To check). Use mpfr namespace for new definitions in "mpfr.h". git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2524 280ebfd0-de03-0410-8827-d642c229c3f4
* (mpfr_init, mpfr_init2, mpfr_set_prec): Make void return, these alwaysryde2002-09-231-3/+1
| | | | | | | succeed. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2030 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright line updated.vlefevre2002-05-141-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1930 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr_init and mpfr_init2 now return an intzimmerma2002-04-191-1/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1902 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
* 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
* 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
* added commentzimmerma2001-11-291-0/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1589 280ebfd0-de03-0410-8827-d642c229c3f4
* Init variables to NaN instead of 0.vlefevre2001-11-281-3/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1585 280ebfd0-de03-0410-8827-d642c229c3f4
* Casts to size_t added (safer and could be required in the future).vlefevre2001-11-251-1/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1577 280ebfd0-de03-0410-8827-d642c229c3f4
* Added MPFR_PREC_MIN and MPFR_PREC_MAX.vlefevre2001-11-211-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1569 280ebfd0-de03-0410-8827-d642c229c3f4
* Error test -> assert.vlefevre2001-11-211-8/+4
| | | | | | | mp_prec_t -> mp_size_t. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1568 280ebfd0-de03-0410-8827-d642c229c3f4
* split from init.czimmerma2001-11-161-0/+46
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1557 280ebfd0-de03-0410-8827-d642c229c3f4