summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2008-11-08 19:16:38 +0100
committerTorbjorn Granlund <tege@gmplib.org>2008-11-08 19:16:38 +0100
commit6952f1535649fc9f578ec92d33db6058dbfb2741 (patch)
tree33928a298d169e302f23087191ac4e89a6ad0696 /doc
parent47cfa61e4c5b74593b56945aaac9ddd7241c003c (diff)
downloadgmp-6952f1535649fc9f578ec92d33db6058dbfb2741.tar.gz
(Float Comparison): Update mpf_eq documentation.
Diffstat (limited to 'doc')
-rw-r--r--doc/gmp.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/gmp.texi b/doc/gmp.texi
index 77c51cf53..330ea9dba 100644
--- a/doc/gmp.texi
+++ b/doc/gmp.texi
@@ -4849,9 +4849,9 @@ Return non-zero if the first @var{op3} bits of @var{op1} and @var{op2} are
equal, zero otherwise. I.e., test if @var{op1} and @var{op2} are approximately
equal.
-Caution: Currently only whole limbs are compared, and only in an exact
-fashion. In the future values like 1000 and 0111 may be considered the same
-to 3 bits (on the basis that their difference is that small).
+Caution: All version of GMP up to version 4.2.4 compared just whole limbs,
+meaning that typically more bits than specified were required to be equal for
+the function to return true.
@end deftypefun
@deftypefun void mpf_reldiff (mpf_t @var{rop}, mpf_t @var{op1}, mpf_t @var{op2})