summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gmp.texi6
1 files changed, 4 insertions, 2 deletions
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