summaryrefslogtreecommitdiff
path: root/mpbsd
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2001-01-03 04:01:35 +0100
committertege <tege@gmplib.org>2001-01-03 04:01:35 +0100
commit362d71b208238ab514db9a47699695ef9b68eb60 (patch)
treec0212f59fcd45e2ee0a6f80f7e919dae7f0ddea0 /mpbsd
parent97eb66259bea016552de64635f610689d6efa92f (diff)
downloadgmp-362d71b208238ab514db9a47699695ef9b68eb60.tar.gz
(check_itom [data]): *SHORT* => *SHRT*;
remove code disabling a test for Cray.
Diffstat (limited to 'mpbsd')
-rw-r--r--mpbsd/tests/t-misc.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/mpbsd/tests/t-misc.c b/mpbsd/tests/t-misc.c
index a92e13b7b..0ab843a78 100644
--- a/mpbsd/tests/t-misc.c
+++ b/mpbsd/tests/t-misc.c
@@ -42,14 +42,9 @@ check_itom (void)
{ 1L, 1, 1 },
{ -1L, -1, 1 },
- { SHORT_MAX, 1, SHORT_MAX },
- { -SHORT_MAX, -1, SHORT_MAX },
-#if !defined (_CRAY) || defined (_CRAYMPP)
- /* These values are computed such that it will not work on traditional
- Cray systems. The occupied space is 64 bits but for signed short,
- just 46 of them are valid. */
- { SHORT_HIGHBIT, -1, USHORT_HIGHBIT },
-#endif
+ { SHRT_MAX, 1, SHRT_MAX },
+ { -SHRT_MAX, -1, SHRT_MAX },
+ { SHRT_MIN, -1, -SHRT_MIN },
};
MINT *m;