On Wed, Jan 23, 2008 at 03:31:44PM +0100, Lucas Nussbaum wrote:
Which failed tests for mips on irix are you referring to?
I'm referring to the code of the test:
/* On MIPS IRIX machines, LDBL_MIN_EXP is -1021, but the smallest reliable
exponent for 'long double' is -964. Similarly, on PowerPC machines,
LDBL_MIN_EXP is -1021, but the smallest reliable exponent for 'long double'
is -968. For exponents below that, the precision may be truncated to the
precision used for 'double'. */
#ifdef __sgi
# define MIN_NORMAL_EXP (LDBL_MIN_EXP + 57)
# define MIN_SUBNORMAL_EXP MIN_NORMAL_EXP
#elif defined __ppc || defined __ppc__ || defined __powerpc || defined
__powerpc__
# define MIN_NORMAL_EXP (LDBL_MIN_EXP + 53)
# define MIN_SUBNORMAL_EXP MIN_NORMAL_EXP
#else
# define MIN_NORMAL_EXP LDBL_MIN_EXP
# define MIN_SUBNORMAL_EXP (LDBL_MIN_EXP - 100)
#endif
I suspect that the key part is "MIPS" rather than "IRIX", and it should
be something like
- #ifdef __sgi
+ #if defined __sgi || defined __m68k
Currently waiting for compilation on m68k to test that theory.
Mike Stone
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]