summaryrefslogtreecommitdiff
path: root/mpfr.texi
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2006-10-27 12:39:20 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2006-10-27 12:39:20 +0000
commita08965f212bd18e6fafee37ac04187540db81d7d (patch)
tree04db3148f2d0fca0d956a229664fd82b492a9809 /mpfr.texi
parentf6656fbc07d68b18cc162a6b3d5b77f19fd353d8 (diff)
downloadmpfr-a08965f212bd18e6fafee37ac04187540db81d7d.tar.gz
The current implementation of mpfr_erfc cannot compute the result for
large inputs. Return NaN with the erange flag set instead of aborting. Documented this behavior in mpfr.texi. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4172 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mpfr.texi')
-rw-r--r--mpfr.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/mpfr.texi b/mpfr.texi
index 5253c1544..bdfe77be9 100644
--- a/mpfr.texi
+++ b/mpfr.texi
@@ -1405,6 +1405,9 @@ rounded in the direction @var{rnd}.
@deftypefun int mpfr_erfc (mpfr_t @var{rop}, mpfr_t @var{op}, mp_rnd_t @var{rnd})
Set @var{rop} to the value of the complementary error function on @var{op},
rounded in the direction @var{rnd}.
+Note: the current implementation cannot compute the result for large inputs;
+in this case, NaN is returned and the erange flag is set to indicate that
+the input is in an unsupported domain.
@end deftypefun
@deftypefun int mpfr_fma (mpfr_t @var{rop}, mpfr_t @var{op1}, mpfr_t @var{op2}, mpfr_t @var{op3}, mp_rnd_t @var{rnd})