diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2006-03-30 14:41:30 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2006-03-30 14:41:30 +0000 |
commit | c8f3c2501f34f7be5397edf5159a0832cf105ded (patch) | |
tree | a7d80df73162d7a75c75ef08318149968023ee76 | |
parent | 0a5673e312978bbb5fe2842b88f74b54c005a2c9 (diff) | |
download | mpfr-c8f3c2501f34f7be5397edf5159a0832cf105ded.tar.gz |
Another FAQ update (taking GMP 4.2 into account).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4053 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | FAQ.html | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -103,14 +103,20 @@ See <samp>ld</samp> manual for more details.</dd> <dt>My program crashes with high precisions.</dt> <dd>Your stack size limit may be too small; indeed, by default, -<cite><acronym>GMP</acronym></cite> currently allocates all -temporary results on the stack, and in very high precisions, -this limit may be reached. You can increase it with the -<samp>limit</samp>, <samp>unlimit</samp> or <samp>ulimit</samp> command, -depending on your shell. Alternatively, <abbr>e.g.</abbr> if your -system does not allow you to increase it further, you can rebuild -<cite><acronym>GMP</acronym></cite> and <cite><acronym>MPFR</acronym></cite> -to use another allocation method.</dd> +<cite><acronym>GMP</acronym></cite> 4.1.4 and below allocates all +temporary results on the stack, and in very high precisions, this +limit may be reached. You can solve this problem in different ways: +<ul> +<li>You can upgrade to <cite><acronym>GMP</acronym></cite> 4.2 (or above), +which now makes temporary allocations on the stack only when they are +small.</li> +<li>You can increase the stack size limit with the <samp>limit</samp>, +<samp>unlimit</samp> or <samp>ulimit</samp> command, depending on your +shell. This may fail on some systems, where the maximum stack size cannot +be increased above some value.</li> +<li>You can rebuild both <cite><acronym>GMP</acronym></cite> and +<cite><acronym>MPFR</acronym></cite> to use another allocation method.</li> +</ul></dd> <dt>Though I have increased the precision, the results are not more accurate.</dt> |