summaryrefslogtreecommitdiff
path: root/mpfr.texi
diff options
context:
space:
mode:
authorthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2008-12-15 17:07:40 +0000
committerthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2008-12-15 17:07:40 +0000
commitb98f05673f46f3b4c7a1a0b2767976b102397f70 (patch)
treed8a73d0b68ced63ed96cb4bd26dfef1c87400c53 /mpfr.texi
parente57a7e5e3f84605dfb8b315d1ea36024092451af (diff)
downloadmpfr-b98f05673f46f3b4c7a1a0b2767976b102397f70.tar.gz
mpfr.texi: more explanations on the precision field.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5754 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mpfr.texi')
-rw-r--r--mpfr.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/mpfr.texi b/mpfr.texi
index 05f2f249c..62c2546a5 100644
--- a/mpfr.texi
+++ b/mpfr.texi
@@ -1910,7 +1910,9 @@ The format specification accepted by @code{mpfr_printf} is an extension of the
% [flags] [width] [.[precision]] [type] [rounding] conv
@end example
@samp{flags}, @samp{width}, and @samp{precision} have the meaning as for
-@code{printf}.
+@code{printf}. Notice that the precision is related to the number of digits
+displayed in the base chosen by @samp{conv} and not related to the internal
+precision of the @code{mpfr_t} variable.
@code{mpfr_printf} is an extension to the @code{gmp_printf} function, hence it
accepts the same @samp{type} specifiers (except 'q', the one for quad_t and
u_quad_t which is not supported) plus the following two: