summaryrefslogtreecommitdiff
path: root/tests/texp10.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2010-05-07 15:13:02 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2010-05-07 15:13:02 +0000
commit3ffa08c3f9f5d2790dca53a5a39f95ab54390acd (patch)
treede0193ea3a91c163a9b23921b1517e85905403b0 /tests/texp10.c
parent5b51d2ffc3e7364b683023047aaffc78d1a894a6 (diff)
downloadmpfr-3ffa08c3f9f5d2790dca53a5a39f95ab54390acd.tar.gz
New exponent type mpfr_exp_t for MPFR (replacing GMP's mp_exp_t).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6789 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/texp10.c')
-rw-r--r--tests/texp10.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/texp10.c b/tests/texp10.c
index 01c635fac..3ab732f58 100644
--- a/tests/texp10.c
+++ b/tests/texp10.c
@@ -36,7 +36,7 @@ special_overflow (void)
{
mpfr_t x, y;
int inex;
- mp_exp_t emin, emax;
+ mpfr_exp_t emin, emax;
emin = mpfr_get_emin ();
emax = mpfr_get_emax ();
@@ -71,7 +71,7 @@ emax_m_eps (void)
mpfr_t x, y;
int inex, ov;
- mpfr_init2 (x, sizeof(mp_exp_t) * CHAR_BIT * 4);
+ mpfr_init2 (x, sizeof(mpfr_exp_t) * CHAR_BIT * 4);
mpfr_init2 (y, 8);
mpfr_set_si (x, mpfr_get_emax (), MPFR_RNDN);
@@ -95,7 +95,7 @@ static void
exp_range (void)
{
mpfr_t x;
- mp_exp_t emin;
+ mpfr_exp_t emin;
emin = mpfr_get_emin ();
set_emin (3);
@@ -119,7 +119,7 @@ overfl_exp10_0 (void)
{
mpfr_t x, y;
int emax, i, inex, rnd, err = 0;
- mp_exp_t old_emax;
+ mpfr_exp_t old_emax;
old_emax = mpfr_get_emax ();
@@ -196,7 +196,7 @@ int
main (int argc, char *argv[])
{
mpfr_t x, y;
- mp_exp_t emin, emax;
+ mpfr_exp_t emin, emax;
int inex, ov;
tests_start_mpfr ();