diff options
author | hanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4> | 1999-06-09 18:03:33 +0000 |
---|---|---|
committer | hanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4> | 1999-06-09 18:03:33 +0000 |
commit | 0cf5fc5ea4b5ed46b454d3bf3adc620d9fff2d32 (patch) | |
tree | 62d12a119f5dfc15abe2f6d298617e174a0a06af /clear.c | |
parent | 8d21dd7188076894a6f65e510797c8c6928e474f (diff) | |
download | mpfr-0cf5fc5ea4b5ed46b454d3bf3adc620d9fff2d32.tar.gz |
Initial revision
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'clear.c')
-rw-r--r-- | clear.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/clear.c b/clear.c new file mode 100644 index 000000000..2a09a2de8 --- /dev/null +++ b/clear.c @@ -0,0 +1,14 @@ +#include "gmp.h" +#include "gmp-impl.h" +#include "mpfr.h" + +void +#if __STDC__ +mpfr_clear (mpfr_ptr m) +#else +mpfr_init (m) + mpfr_ptr m; +#endif +{ + (*_mp_free_func) (m->_mp_d, ((m->_mp_prec>>3) + 1)); +} |