diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 1999-06-16 09:41:54 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 1999-06-16 09:41:54 +0000 |
commit | 7b1d840f93e9d37aee1d1d954af40e1d867ce6a1 (patch) | |
tree | 29e81d6e790710b4f61335a52e32759e1d8a1c82 | |
parent | fcf73a8bf94c74c9e39ed0e5c0904481fca767c1 (diff) | |
download | mpfr-7b1d840f93e9d37aee1d1d954af40e1d867ce6a1.tar.gz |
added macro SET_ZERO
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@66 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | mpfr.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -69,6 +69,7 @@ typedef __gmp_const __mpfr_struct *mpfr_srcptr; #define CHANGE_SIGN(x) (SIZE(x) = SIZE(x) ^ (1<<31)) #define PREC(x) ((x)->_mp_prec) #define NOTZERO(x) (ABSSIZE(x)) +#define SET_ZERO(x) (SIZE(x) = 0) /* reallocates the mantissa of x to q bits and sets the precision to q */ #define _mpfr_realloc(x, q) { \ |