summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2021-05-17 13:25:48 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2021-05-17 13:25:48 +0000
commit3e9f0969b2629e6713c5b01a7b54a229c76409eb (patch)
treeddd2e6b4760b7fbeb97b4fe3f634f962fbfcb5cb
parent94e93e6acb6da4a5bb7c17a73ff506a860878d41 (diff)
downloadmpfr-3e9f0969b2629e6713c5b01a7b54a229c76409eb.tar.gz
[doc/mpfr.texi] Punctuation.
(merged changeset r14515 from the trunk) git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/branches/4.1@14522 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--doc/mpfr.texi14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/mpfr.texi b/doc/mpfr.texi
index d50408c89..0b8750bec 100644
--- a/doc/mpfr.texi
+++ b/doc/mpfr.texi
@@ -1774,12 +1774,12 @@ If @var{rnd} is to nearest, and @var{op} is exactly in the middle of two
consecutive possible outputs, the one with an even significand is chosen,
where both significands are considered with the exponent of @var{op}.
Note that for an odd base, this may not correspond to an even last digit:
-for example with 2 digits in base 7, (14) and a half is rounded to (15)
-which is 12 in decimal, (16) and a half is rounded to
-(20) which is 14 in decimal,
+for example, with 2 digits in base 7, (14) and a half is rounded to (15),
+which is 12 in decimal, (16) and a half is rounded to (20), which is 14
+in decimal,
@c The following example duplicates (16) and a half
@c (36) and a half is rounded to (40) which is 28 in decimal,
-and (26) and a half is rounded to (26) which is 20 in decimal.
+and (26) and a half is rounded to (26), which is 20 in decimal.
If @var{n} is zero, the number of digits of the significand is taken as
@code{mpfr_get_str_ndigits(@var{base},@var{p})} where @var{p} is the precision
@@ -2786,7 +2786,7 @@ The output @samp{conv} specifiers allowed with @code{mpfr_t} parameter are:
@end multitable
@end quotation
-The conversion specifier @samp{b} which displays the argument in binary is
+The conversion specifier @samp{b}, which displays the argument in binary, is
specific to @code{mpfr_t} arguments and should not be used with other types.
Other conversion specifiers have the same meaning as for a @code{double}
argument.
@@ -3250,7 +3250,7 @@ the least @math{-@var{e}} significant bits of the significand are always 0).
Return 0, unless the exponent is not in the current exponent range, in
which case @var{rop} is set to NaN and a non-zero value is returned (this
should never happen in practice, except in very specific cases). The
-second argument is a @code{gmp_randstate_t} structure which should be
+second argument is a @code{gmp_randstate_t} structure, which should be
created using the GMP @code{gmp_randinit} function (see the GMP manual).
Note: for a given version of MPFR, the returned value of @var{rop} and the
@@ -3264,7 +3264,7 @@ The floating-point number @var{rop} can be seen as if a random real number is
generated according to the continuous uniform distribution on the interval
[0, 1] and then rounded in the direction @var{rnd}.
-The second argument is a @code{gmp_randstate_t} structure which should be
+The second argument is a @code{gmp_randstate_t} structure, which should be
created using the GMP @code{gmp_randinit} function (see the GMP manual).
Note: the note for @code{mpfr_urandomb} holds too. Moreover, the exact number