summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2021-09-16 01:47:02 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2021-09-16 01:47:02 +0000
commit5d3313daa9bfab039a39e002728e2c777e3ccb7e (patch)
tree7db22280ae7d5f0909c74f4acc8423ca818a033e
parent6822f7a99cc0f1dd49c3a4965f3eea6693ee4b72 (diff)
downloadmpfr-5d3313daa9bfab039a39e002728e2c777e3ccb7e.tar.gz
[doc/mpfr.texi] Corrected garbled mpfr_set* description.
Thanks to Rob for noticing: https://sympa.inria.fr/sympa/arc/mpfr/2021-09/msg00003.html The cause is a sentence that was inserted at the wrong place in r8225 (2012-06-25). git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14580 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--doc/mpfr.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/mpfr.texi b/doc/mpfr.texi
index 333ba137c..3ed9cd326 100644
--- a/doc/mpfr.texi
+++ b/doc/mpfr.texi
@@ -1414,14 +1414,14 @@ Set the value of @var{rop} from @var{op}, rounded
toward the given direction @var{rnd}.
Note that the input 0 is converted to +0 by @code{mpfr_set_ui},
@code{mpfr_set_si}, @code{mpfr_set_uj}, @code{mpfr_set_sj},
+@code{mpfr_set_z}, @code{mpfr_set_q} and
+@code{mpfr_set_f}, regardless of the rounding mode.
The @code{mpfr_set_float128} function is built only with the configure
option @samp{--enable-float128}, which requires the compiler or
system provides the @samp{_Float128} data type
(GCC 4.3 or later supports this data type);
to use @code{mpfr_set_float128}, one should define the macro
@code{MPFR_WANT_FLOAT128} before including @file{mpfr.h}.
-@code{mpfr_set_z}, @code{mpfr_set_q} and
-@code{mpfr_set_f}, regardless of the rounding mode.
If the system does not support the IEEE@tie{}754 standard,
@code{mpfr_set_flt}, @code{mpfr_set_d}, @code{mpfr_set_ld},
@code{mpfr_set_decimal64} and @code{mpfr_set_decimal128}