diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2006-11-16 15:02:08 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2006-11-16 15:02:08 +0000 |
commit | db84ffff5f3fb1a396a4764a19bfc7ed86bb6c26 (patch) | |
tree | 77d312eea7c01535fedc15a3460ba1ad690aea47 /BUGS | |
parent | b6553962e92665f362c098fa3db01df78367e1c3 (diff) | |
download | mpfr-db84ffff5f3fb1a396a4764a19bfc7ed86bb6c26.tar.gz |
implemented asymptotic formula for erfc (fixed both slowness for large
arguments, and call to MPFR_WARNING with return value NaN for huge arguments)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4219 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'BUGS')
-rw-r--r-- | BUGS | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -33,12 +33,9 @@ Known bugs: underflow flag is not always set. Example: x = 0.11 in base 2, y = 1.0e38, GMP_RNDN. -* On some very large values, mpfr_erfc crashes (segmentation fault, - probably due to lack of memory or integer overflow). - -* Some large input values for mpfr_eint and mpfr_erfc are currently not - supported. However they should be detected, so that one can have the - following documented behavior: NaN is returned and the erange flag is +* Some large input values for mpfr_eint are currently not supported. + However they should be detected, so that one can have the following + documented behavior: NaN is returned and the erange flag is set to indicate that the input is in an unsupported domain. If MPFR has been built with --enable-warnings and the environment variable MPFR_QUIET is null, a warning is output to the standard error stream. @@ -57,7 +54,9 @@ Potential bugs: * Possible infinite loop in some functions for particular cases: when the exact result is an exactly representable number or the middle of - consecutive two such numbers (for example, erf). + consecutive two such numbers. However for non-algebraic functions, it is + believed that no such case exists, except the well-known cases like cos(0)=1, + exp(0)=1, and so on, and the x^y function when y is an integer or y=1/2^k. * The mpfr_set_ld function may be quite slow if the long double type has an exponent of more than 15 bits. |