diff --git a/doc/mpir.texi b/doc/mpir.texi index cadb1c5b..8e82372c 100644 --- a/doc/mpir.texi +++ b/doc/mpir.texi @@ -3049,6 +3049,11 @@ exponent is stored to @code{*@var{exp}}. @m{@var{d} * 2^{exp}, @var{d} * 2^@var{exp}} is the (truncated) @var{op} value. If @var{op} is zero, the return is @math{0.0} and 0 is stored to @code{*@var{exp}}. +@cindex @code{frexp} +This is similar to the standard C @code{frexp} function (@pxref{Normalization +Functions,,, libc, The GNU C Library Reference Manual}). +@end deftypefun + @deftypefun mpir_si mpz_get_2exp_d (double *@var{???}, mpz_t @var{op}) Convert @var{op} to a @code{double}, truncating if necessary (ie.@: rounding towards zero), and returning the exponent separately. @@ -3057,10 +3062,6 @@ This function has been added on Windows as an alternative to mpz_get_d_2exp to avoid problems that occur on 64-bit Windows systems where pointers to integers point to 32-bit integer variables when MPIR expects to find space for 64-bit integers. - -@cindex @code{frexp} -This is similar to the standard C @code{frexp} function (@pxref{Normalization -Functions,,, libc, The GNU C Library Reference Manual}). @end deftypefun @deftypefun {char *} mpz_get_str (char *@var{str}, int @var{base}, mpz_t @var{op}) @@ -4756,6 +4757,11 @@ exponent is stored to @code{*@var{exp}}. @m{@var{d} * 2^{exp}, @var{d} * 2^@var{exp}} is the (truncated) @var{op} value. If @var{op} is zero, the return is @math{0.0} and 0 is stored to @code{*@var{exp}}. +@cindex @code{frexp} +This is similar to the standard C @code{frexp} function (@pxref{Normalization +Functions,,, libc, The GNU C Library Reference Manual}). +@end deftypefun + @deftypefun mpir_si mpf_get_2exp_d (double *@var{rop}, mpf_t @var{op}) Convert @var{op} to a @code{double}, truncating if necessary (ie.@: rounding towards zero), and with an exponent returned separately. @@ -4764,10 +4770,6 @@ This function has been added on Windows as an alternative to mpf_get_d_2exp to avoid problems that occur on 64-bit Windows systems where pointers to integers point to 32-bit integer variables when MPIR expects to find space for 64-bit integers. - -@cindex @code{frexp} -This is similar to the standard C @code{frexp} function (@pxref{Normalization -Functions,,, libc, The GNU C Library Reference Manual}). @end deftypefun @deftypefun mpir_si mpf_get_si (mpf_t @var{op})