summaryrefslogtreecommitdiff
path: root/mpfr.texi
Commit message (Collapse)AuthorAgeFilesLines
* For the terminating null pointer of the functions mpfr_inits,vlefevre2008-02-151-8/+14
| | | | | | | | | | | | | | | | mpfr_inits2, mpfr_clears, always use the type mpfr_ptr (no longer void *). Updated the description of these functions in the manual (mpfr.texi). The reason is that the C standard does not guarantee that (void *) 0 has the same representation as a null pointer to a structure (and even the same size). In most C implementations, the representations are the same, but one never knows (dynamical checking is also always possible)... The change has been done with: perl -pi -e \ 's/(mpfr_(clear|init)s.*)\(void *\*\) *0\)/$1(mpfr_ptr) 0)/' **/*.c under zsh. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5290 280ebfd0-de03-0410-8827-d642c229c3f4
* cosmetic changesthevenyp2008-02-151-9/+9
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5286 280ebfd0-de03-0410-8827-d642c229c3f4
* fix "%P" case, add test for it.thevenyp2008-02-141-1/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5284 280ebfd0-de03-0410-8827-d642c229c3f4
* improve mention on format string restrictionthevenyp2008-02-041-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5258 280ebfd0-de03-0410-8827-d642c229c3f4
* mention restriction on type field in the format string.thevenyp2008-02-041-1/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5257 280ebfd0-de03-0410-8827-d642c229c3f4
* improve mpfr_printf documentationthevenyp2008-02-011-31/+91
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5254 280ebfd0-de03-0410-8827-d642c229c3f4
* added parentheses to avoid ambiguity (suggested by Keith Briggs)zimmerma2008-02-011-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5249 280ebfd0-de03-0410-8827-d642c229c3f4
* Document how to produce PDF and HTML versions of the manual.vlefevre2008-01-301-4/+12
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5242 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: inverse square root -> reciprocal square root.vlefevre2008-01-191-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5203 280ebfd0-de03-0410-8827-d642c229c3f4
* added mpfr_rec_sqrt in mpfr.texi (forgot in last commit)zimmerma2008-01-181-0/+7
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5202 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: typo.vlefevre2008-01-141-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5182 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: updated month.vlefevre2008-01-111-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5181 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: added a warning concerning huge precisions.vlefevre2008-01-111-0/+8
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5180 280ebfd0-de03-0410-8827-d642c229c3f4
* small changes for acos/asin/atan/atan2 rounded outside their output rangezimmerma2008-01-081-5/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5177 280ebfd0-de03-0410-8827-d642c229c3f4
* added note about output of acos/asin/atan/atan2 which might be outside thezimmerma2008-01-071-0/+10
| | | | | | | function domain git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5176 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: better description of mpfr_strtofr.vlefevre2008-01-041-8/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5172 280ebfd0-de03-0410-8827-d642c229c3f4
* Changes related to mpfr_strtofr.vlefevre2008-01-041-52/+51
| | | | | | | | | | | | | | | | | | | * strtofr.c: for mpfr_strtofr, data corresponding to NaN can now have an optional sign (since the documentation said that parsing followed the standard C strtod function and this change makes invalid data now valid, so that there should be no compatibility problems). * tests/tstrtofr.c: changed the test for -42P17 in base 16 (this was eventually regarded as a documentation bug); added tests. * mpfr.texi: almost completely rewrote the specification of the mpfr_strtofr function. Changes: - the binary exponent is now accepted even without the 0b or 0x prefix; - data corresponding to NaN can now have an optional sign (this was a bit ambiguous); - many other ambiguities avoided. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5167 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2008 withvlefevre2008-01-011-1/+1
| | | | | | | | perl -pi -e 's/2007 Free Software/2007, 2008 Free Software/' **/*(^/) under zsh. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5151 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: corrections in the specification of mpfr_strtofr (see FIXME).vlefevre2007-12-301-13/+12
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5148 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: updated month.vlefevre2007-12-281-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5138 280ebfd0-de03-0410-8827-d642c229c3f4
* Fix typos.thevenyp2007-12-131-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5074 280ebfd0-de03-0410-8827-d642c229c3f4
* short documentation of printf-like functions.thevenyp2007-12-131-8/+38
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5070 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: corrections (English usage and texinfo). Added correspondingvlefevre2007-11-241-5/+6
| | | | | | | notes at the end of the README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5006 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: s/rounding to the nearest mode/rounding to nearest mode/vlefevre2007-11-241-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5005 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi consistency changes: "towards" -> "toward" (because thisvlefevre2007-11-241-13/+13
| | | | | | | is what the IEEE-754 standard uses, and we have mpfr_nexttoward). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5004 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: English typography corrections (no space before ":").vlefevre2007-11-241-13/+13
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5003 280ebfd0-de03-0410-8827-d642c229c3f4
* Makefile.am: add mpfr_printf-like functionsthevenyp2007-11-231-0/+73
| | | | | | | | | | | | | | | | mpfr.h: add mpfr_printf-like functions printf.c: printf, sprintf, snprintf, asprintf and 'v' variants vasprintf.c: vasprintf functions used by its likes mpfr.texi: add description for printf family functions tests/Makefile.am: add test for printf tests/tprintf.c: tests for printf-like functions acinclude.m4: define HAVE_LOCALE_H mpfr-impl.h: define MPFR_DECIMAL_POINT even if no locale.h strtofr.c: remove locale.h inclusion (done by mpfr-impl.h ) tests/tests.c: use HAVE_LOCALE_H git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4993 280ebfd0-de03-0410-8827-d642c229c3f4
* Untabified and removed trailing spaces.vlefevre2007-10-311-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4933 280ebfd0-de03-0410-8827-d642c229c3f4
* added comment about function/macro in custom interfacezimmerma2007-10-281-1/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4925 280ebfd0-de03-0410-8827-d642c229c3f4
* added note about efficiency of special functionszimmerma2007-10-271-1/+5
| | | | | | | corrected typo git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4921 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: small change in the description of mpfr_subnormalize.vlefevre2007-10-231-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4913 280ebfd0-de03-0410-8827-d642c229c3f4
* added more details in the description of subnormalizezimmerma2007-10-231-0/+7
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4912 280ebfd0-de03-0410-8827-d642c229c3f4
* Changeset r4904 introduced an assertion failure, but the assertionvlefevre2007-10-231-1/+2
| | | | | | | | | | | | emax - emin >= PREC(x) wasn't necessary: the value of emax doesn't matter, except when the exponent is increased due to the rounding. So, we just document that if the result cannot be represented in the current exponent range, the behavior is undefined (updated mpfr.texi accordingly). Removed the assertion from subnormal.c and added a new one to have an abort if such an undefined behavior occurs. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4905 280ebfd0-de03-0410-8827-d642c229c3f4
* add dilogarithm functionthevenyp2007-10-161-0/+6
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4896 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: another small change in Contributors section.vlefevre2007-10-091-5/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4887 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: small change in Contributors section.vlefevre2007-10-091-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4886 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: mention Fiable and AOC actions in the Contributors section.vlefevre2007-10-091-0/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4885 280ebfd0-de03-0410-8827-d642c229c3f4
* added reference to ACM TOMS paperzimmerma2007-10-091-14/+22
| | | | | | | updated other references, and Contributors section git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4884 280ebfd0-de03-0410-8827-d642c229c3f4
* fixed typo in sectioningzimmerma2007-10-091-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4883 280ebfd0-de03-0410-8827-d642c229c3f4
* removed mpfr_get_d1 from documented functionszimmerma2007-10-081-37/+5
| | | | | | | removed old commented functions git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4882 280ebfd0-de03-0410-8827-d642c229c3f4
* renamed "Rounding Mode Related Functions" to "Rounding Related Functions"zimmerma2007-10-081-61/+60
| | | | | | | | put mpfr_can_round in "Rounding Related Functions" (now exported) exchanged order of sections "Miscellaneous Functions" and "Rounding Related Functions" git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4881 280ebfd0-de03-0410-8827-d642c229c3f4
* added hint for mpfr_can_round to get ternary valuezimmerma2007-10-081-0/+13
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4880 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: improved mpfr_set_exp description too.vlefevre2007-10-031-0/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4875 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: improved mpfr_get_exp documentation.vlefevre2007-10-031-1/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4874 280ebfd0-de03-0410-8827-d642c229c3f4
* mpfr.texi: mantissa -> significand (to use the terminology from IEEE 754vlefevre2007-10-031-42/+44
| | | | | | | and ISO C99). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4873 280ebfd0-de03-0410-8827-d642c229c3f4
* merge fmod, remaider and remquo into a single file rem1.c.thevenyp2007-09-281-1/+1
| | | | | | | | | merge code into a single internal function mpfr_rem1. fix false statement in mpfr.texi: rop and op1 have the same sign for mpfr_fmod but not for mpfr_remainder and mpfr_remquo. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4869 280ebfd0-de03-0410-8827-d642c229c3f4
* new fmod functionthevenyp2007-09-261-8/+19
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4867 280ebfd0-de03-0410-8827-d642c229c3f4
* GNU coding style, reformatting, exit (-1) -> exit (1).vlefevre2007-09-221-6/+6
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4865 280ebfd0-de03-0410-8827-d642c229c3f4
* new mpfr_sinh_cosh functionthevenyp2007-09-211-0/+8
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4864 280ebfd0-de03-0410-8827-d642c229c3f4
* fixed bug in mpfr_sin_cos found by Philippe: z (to save the cosine) was notzimmerma2007-09-131-2/+2
| | | | | | | allowed to be identical to the input x git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4839 280ebfd0-de03-0410-8827-d642c229c3f4