diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-09-27 13:38:24 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-09-27 13:38:24 +0000 |
commit | d40b8d2ab248db63d18049f777cae9aee9b0aadd (patch) | |
tree | fe33f1a4344133dc4ae4696db9e1fd4d9738a248 | |
parent | 348e103fc5b3a41808152405e63a886604cedf18 (diff) | |
download | mpfr-d40b8d2ab248db63d18049f777cae9aee9b0aadd.tar.gz |
Added an item about the future MPFR_FLAGS_ERANGE flag.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2996 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | TODO | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -64,6 +64,12 @@ Changes in existing functions: rounding, if the round bit is 0 (resp. 1), we just have to check round(approx-error) (resp. round(approx+error)). +- add a flag MPFR_FLAGS_ERANGE to signal a domain error when the result + is not a MPFR number (otherwise NaN is used both in __gmpfr_flags and + in the result). Modify the following functions to use it: + * Conversions MPFR -> C integer (e.g. mpfr_get_ui). + * Comparisons when NaN is not accepted. + New functions to implement: - modf (to extract integer and fractional parts), suggested by |