From 13cb1f93dd58172a5a3507a5c390441ad9322a60 Mon Sep 17 00:00:00 2001 From: tege Date: Thu, 29 Nov 2001 14:53:40 +0100 Subject: Fix docs for mpz_get_d_2exp an mpf_get_d_2exp. --- gmp.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gmp.texi') diff --git a/gmp.texi b/gmp.texi index e0ffb6d00..b0393e450 100644 --- a/gmp.texi +++ b/gmp.texi @@ -2467,7 +2467,8 @@ Convert @var{op} to a @code{double}. @end deftypefun @deftypefun double mpz_get_d_2exp (signed long int @var{exp}, mpz_t @var{op}) -Find @var{d} <= 0.5 and @var{exp} such that @var{d} * 2**@var{exp} is a good +Find @var{d} and @var{exp} such that @m{@var{d}\times 2^{exp}, @var{d} times 2 +raised to @var{exp}}, with @ma{0.5@le{}@GMPabs{@var{d}}<1}, is a good approximation to @var{op}. @end deftypefun @@ -3745,7 +3746,8 @@ Convert @var{op} to a @code{double}. @end deftypefun @deftypefun double mpf_get_d_2exp (signed long int @var{exp}, mpf_t @var{op}) -Find @var{d} <= 0.5 and @var{exp} such that @var{d} * 2**@var{exp} is a good +Find @var{d} and @var{exp} such that @m{@var{d}\times 2^{exp}, @var{d} times 2 +raised to @var{exp}}, with @ma{0.5@le{}@GMPabs{@var{d}}<1}, is a good approximation to @var{op}. This is similar to the standard C function @code{frexp}. @end deftypefun -- cgit v1.2.1