diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-01-09 16:00:54 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-01-09 16:00:54 +0000 |
commit | 21249c6b35c1ef09485172cb22598a1c78a2d151 (patch) | |
tree | c130d87f19bfd8807b624a985c6bf34a45499835 /mpfr-test.h | |
parent | 0f61bc59c3dedca12d28706db41b52d5da474edb (diff) | |
download | mpfr-21249c6b35c1ef09485172cb22598a1c78a2d151.tar.gz |
Update the tests to reduce the use of floats.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2620 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mpfr-test.h')
-rw-r--r-- | mpfr-test.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mpfr-test.h b/mpfr-test.h index 25697d0c4..b59eecce0 100644 --- a/mpfr-test.h +++ b/mpfr-test.h @@ -19,6 +19,12 @@ along with the MPFR Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef __MPFR_TEST_H__ +#define __MPFR_TEST_H__ + +#include "gmp.h" +#include "gmp-impl.h" +#include "mpfr.h" #include "mpfr-impl.h" #if HAVE_CONFIG_H @@ -71,3 +77,9 @@ double Ulp _MPFR_PROTO ((double)); int Isnan _MPFR_PROTO ((double)); void d_trace _MPFR_PROTO ((const char *, double)); void ld_trace _MPFR_PROTO ((const char *, long double)); + +int mpfr_cmp_str _MPFR_PROTO ((mpfr_srcptr x, const char *s, int base, mp_rnd_t rnd)); +#define mpfr_cmp_str1(x,s) mpfr_cmp_str(x,s,10,GMP_RNDN) +#define mpfr_set_str1(x,s) mpfr_set_str(x,s,10,GMP_RNDN) + +#endif |