From 5d3313daa9bfab039a39e002728e2c777e3ccb7e Mon Sep 17 00:00:00 2001 From: vlefevre Date: Thu, 16 Sep 2021 01:47:02 +0000 Subject: [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 --- doc/mpfr.texi | 4 ++-- 1 file 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} -- cgit v1.2.1