summaryrefslogtreecommitdiff
path: root/src/mpfr-impl.h
Commit message (Collapse)AuthorAgeFilesLines
...
* [sin_cos.c] moved macros to mpfr-impl.h, added READMEzimmerma2011-01-141-0/+6
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7356 280ebfd0-de03-0410-8827-d642c229c3f4
* Added support for the division-by-zero exception.vlefevre2011-01-141-1/+8
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7344 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-impl.h] Removed an obsolete comment.vlefevre2011-01-141-13/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7341 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-impl.h] MPFR_IS_POWER_OF_2: added parentheses.vlefevre2011-01-131-1/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7334 280ebfd0-de03-0410-8827-d642c229c3f4
* New macro MPFR_IS_POWER_OF_2.lfousse2011-01-131-0/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7331 280ebfd0-de03-0410-8827-d642c229c3f4
* Added MPFR_TMP_LIMBS_ALLOC macro and updated the source to use it.vlefevre2010-12-171-1/+4
| | | | | | tools/mpfrlint: check its use instead of MPFR_TMP_ALLOC. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7300 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-impl.h] Formatting.vlefevre2010-12-171-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7298 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-impl.h] Commented out the declaration of mpfr_round_raw_3vlefevre2010-11-181-0/+3
| | | | | | (since this function is no longer defined). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7268 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-impl.h] Added a comment about mpn_sqr_n.vlefevre2010-11-151-1/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7266 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-impl.h] Added MPFR_UEXP macro to check (in debug mode) thatvlefevre2010-10-101-0/+4
| | | | | | | | a value is nonnegative before a cast to mpfr_uexp_t. [src/add1.c] Use the MPFR_UEXP macro to make sure that the avoided warning doesn't hide a real bug. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7196 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mulders.c] added new function mpfr_divhigh_n() for short divisionzimmerma2010-09-291-0/+2
| | | | | | | | | | | | | | | (not used yet), fixed comments and added error analysis in mpfr_mulhigh_n() and mpfr_sqrhigh_n() [src/sqrt.c] fixed ill-placed MPFR_TMP_MARK [src/mparam_h.in] added default MPFR_DIVHIGH_TAB for mpfr_divhigh_n() [src/round_p.c] typo [src/mpfr-impl.h] added prototype for mpfr_divhigh_n [src/mul.c] added comment, simplified code [tune/tuneup.c] added tuning for mpfr_divhigh_n(), increased MAX_STEPS to get a better tuning (will take longer), set tolerance to 1.0 git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7183 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/sqrt.c] now uses mpn_rootrem (if available) instead of mpn_sqrtrem sincezimmerma2010-09-281-1/+1
| | | | | | | | | mpn_rootrem is faster. Also refactored the code: now compute one more limb of the square root when the target precision is a multiple of GMP_NUMB_LIMB. This greatly simplifies the code. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7178 280ebfd0-de03-0410-8827-d642c229c3f4
* Source reorganization. In short:vlefevre2010-08-171-0/+1758
* Added directories and moved related files into them: - src for the MPFR source files (to build the library). - doc for documentation files (except INSTALL, README...). - tools for various tools (scripts) and mbench. - tune for tuneup-related source files. - other for other source files (not distributed in tarballs). Existing directories: - tests for the source files of the test suite (make check). - examples for examples. - m4 for m4 files. * Renamed configure.in to configure.ac. * Added/updated Makefile.am files where needed. * Updated acinclude.m4 and configure.ac (AC_CONFIG_FILES line). * Updated the documentation (INSTALL, README, doc/README.dev and doc/mpfr.texi). * Updated NEWS and TODO. * Updated the scripts now in tools. The following script was used: #!/usr/bin/env zsh svn mkdir doc other src tools tune svn mv ${${(M)$(sed -n '/libmpfr_la_SOURCES/,/[^\]$/p' \ Makefile.am):#*.[ch]}:#get_patches.c} mparam_h.in \ round_raw_generic.c jyn_asympt.c src svn mv mbench check_inits_clears coverage get_patches.sh mpfrlint \ nightly-test update-patchv update-version tools svn mv bidimensional_sample.c speed.c tuneup.c tune svn mv *.{c,h} other svn mv FAQ.html README.dev algorithm* faq.xsl fdl.texi mpfr.texi \ update-faq doc svn mv configure.in configure.ac svn cp Makefile.am src/Makefile.am svn rm replace_all [Modifying some files, see above] svn add doc/Makefile.am svn add tune/Makefile.am git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7087 280ebfd0-de03-0410-8827-d642c229c3f4