From 6504068eb895d4fb6161ddbb0249e59c19afa707 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Tue, 27 Oct 2015 08:45:28 -0400 Subject: [PATCH] Also IRIX seems to have NaN comparison issues. The issues seem to be much harder to trigger (harder than in VC6 or Tru64, that is), though: the perl #125298 is the only spot where the problem has surfaced so far. Though see also perl #126396, with long doubles (the #125298 is with plain doubles). All tests pass now in IRIX in blead with default config, including the t/op/infnan.t. With -Duselongdouble nothing new breaks (known issues with locales and M::BI) --- perl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perl.h b/perl.h index 27afddb..b6c14b5 100644 --- a/perl.h +++ b/perl.h @@ -1868,6 +1868,9 @@ typedef NVTYPE NV; /* Also Tru64 cc has broken NaN comparisons. */ # define NAN_COMPARE_BROKEN #endif +#if defined(__sgi) +# define NAN_COMPARE_BROKEN +#endif #ifdef USE_LONG_DOUBLE # ifdef I_SUNMATH -- 1.8.3.1