summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2007-02-09 06:40:51 -0500
committerH.Merijn Brand <h.m.brand@xs4all.nl>2007-02-10 17:22:04 +0000
commited140128eb692ebeaa21f2775f8d3c34e9a94094 (patch)
tree1ed1e0da9af5eb071615d6d32c0bebd64980a3d3 /proto.h
parent75c442e4b9bb8eeee80e9ac09713243f25ff6ed6 (diff)
downloadperl-ed140128eb692ebeaa21f2775f8d3c34e9a94094.tar.gz
signbit detection (was [perl #39875] -0.0 loses signedness upon numeric comparison)
Message-ID: <Pine.LNX.4.62.0702091121400.10202@fractal.phys.lafayette.edu> p4raw-id: //depot/perl@30192
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 8199ec2a7c..a9d6c93c9e 100644
--- a/proto.h
+++ b/proto.h
@@ -4593,6 +4593,11 @@ STATIC void S_curmad(pTHX_ char slot, SV *sv);
PERL_CALLCONV int Perl_madlex(pTHX);
PERL_CALLCONV int Perl_madparse(pTHX);
#endif
+#if !defined(HAS_SIGNBIT)
+PERL_CALLCONV int Perl_signbit(NV f)
+ __attribute__pure__;
+
+#endif
END_EXTERN_C
/*