summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2019-09-05 14:15:10 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2019-09-05 14:15:10 +0000
commit21e0f4dd548fe2edc187ca1b108a197e2b9e3c77 (patch)
tree63f6a230db328ac2822ddd66d7c057cc48e73feb /doc
parent052d4c2b633ae16661f5d31a56e1eef19ff55aa9 (diff)
downloadmpfr-21e0f4dd548fe2edc187ca1b108a197e2b9e3c77.tar.gz
[doc/mpfr.texi] Transcendental functions: added a sentence to the
important note (about cases theoretically very hard to round). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13608 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'doc')
-rw-r--r--doc/mpfr.texi11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/mpfr.texi b/doc/mpfr.texi
index 8dd116c1a..f37f03d2a 100644
--- a/doc/mpfr.texi
+++ b/doc/mpfr.texi
@@ -2166,7 +2166,16 @@ For some functions, the algorithm complexity and memory usage does not
depend only on the output precision: for instance, the memory usage of
@code{mpfr_rootn_ui} is also linear in the argument @var{k}, and the
memory usage of the incomplete Gamma function also depends on the
-precision of the input @var{op}.
+precision of the input @var{op}. It is also theoretically possible that
+some functions on some particular inputs might be very hard to round
+(i.e. the Table Maker's Dilemma occurs in much larger precisions than
+normally expected from the context), meaning that the internal precision
+needs to be increased even more; but it is conjectured that the needed
+precision has a reasonable bound.
+@c Let's not give too many details, but by context, it is implied that
+@c the input precision is involved if the cases have been built so that
+@c they are hard to round, like in function bad_cases in the test suite
+@c (tests/tests.c).
@deftypefun int mpfr_log (mpfr_t @var{rop}, mpfr_t @var{op}, mpfr_rnd_t @var{rnd})
@deftypefunx int mpfr_log_ui (mpfr_t @var{rop}, unsigned long @var{op}, mpfr_rnd_t @var{rnd})