summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-04-24 22:56:32 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-04-24 22:56:32 +0000
commite03a66ad33054888726fe3c2d5720b0708e02441 (patch)
tree2ceb3ec3c2163498c845e55f1e8050e379991a4a /pp.c
parent1eac4e910df93852b8f471147a961deac6f9a1a1 (diff)
downloadperl-e03a66ad33054888726fe3c2d5720b0708e02441.tar.gz
Add HAS_FREXPL, HAS_ISNAN, HAS_ISNANL, and HAS_MODFL.
Now pp_ncmp() returns undef is either operand is a NaN. p4raw-id: //depot/cfgperl@5943
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/pp.c b/pp.c
index 316c7936d7..e90b5386fc 100644
--- a/pp.c
+++ b/pp.c
@@ -1199,15 +1199,8 @@ PP(pp_ncmp)
{
dPOPTOPnnrl;
I32 value;
-#ifdef __osf__ /* XXX Configure probe for isnan and isnanl needed XXX */
-#if defined(USE_LONG_DOUBLE) && defined(HAS_LONG_DOUBLE)
-#define Perl_isnan isnanl
-#else
-#define Perl_isnan isnan
-#endif
-#endif
-#ifdef __osf__ /* XXX fix in 5.6.1 --jhi */
+#ifdef Perl_isnan
if (Perl_isnan(left) || Perl_isnan(right)) {
SETs(&PL_sv_undef);
RETURN;