diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-12-22 17:17:24 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-12-22 17:17:24 +0000 |
commit | 98375b3f467d8561ec269ab100357897b40dea8c (patch) | |
tree | 7af0fe1c7fa87e9967102f04b61c2690cdb32b73 /mpfr.texi | |
parent | 98334c6f2632d7f8bc52d0109bec2a8057d45bb4 (diff) | |
download | mpfr-98375b3f467d8561ec269ab100357897b40dea8c.tar.gz |
mpfr.texi: improved documentation of %Pu in mpfr_printf. [merged -c5772]
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/2.4@5773 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mpfr.texi')
-rw-r--r-- | mpfr.texi | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1919,7 +1919,7 @@ two: @quotation @multitable {(space)} {MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM} @item @samp{R} @tab @code{mpfr_t} input, float conversions -@item @samp{P} @tab @code{mpfr_t} input, integer conversions +@item @samp{P} @tab @code{mpfr_prec_t} input, integer conversions @end multitable @end quotation The @samp{type} specifiers have the same restrictions as those mentioned in @@ -1931,8 +1931,9 @@ parameter and shall not be used with other types. @code{mpfr_printf} accepts the same conversion specifier character @samp{conv} as @code{gmp_printf} plus @samp{b}. -The @samp{P} type outputs the internal precision of the @code{mpfr_t} variable; -for example: +The @samp{P} type outputs the precision of an @code{mpfr_t} variable. +It is needed because the @code{mpfr_prec_t} type doesn't necessarily +correspond to an unsigned int or any fixed standard type. For example: @example mpfr_t x; mpfr_prec_t p; |