summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-01-19 17:36:56 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-01-19 17:36:56 +0000
commitcce08f5b9b7595afc792a45212fcf309dbd735ca (patch)
treea5635b7983b7582079b35e74befaca3557863260 /perl.h
parented5237f9db01e844a3ea31909a300586f94fc4a5 (diff)
downloadperl-cce08f5b9b7595afc792a45212fcf309dbd735ca.tar.gz
Add NV_PRESERVES_UV.
p4raw-id: //depot/cfgperl@4819
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 30130fd262..bdab13e3db 100644
--- a/perl.h
+++ b/perl.h
@@ -1870,6 +1870,8 @@ struct ptr_tbl {
#define U_V(what) (cast_uv((NV)(what)))
#endif
+/* Mention NV_PRESERVES_UV so that Configure picks it up. */
+
/* These do not care about the fractional part, only about the range. */
#define NV_WITHIN_IV(nv) (I_V(nv) >= IV_MIN && I_V(nv) <= IV_MAX)
#define NV_WITHIN_UV(nv) ((nv)>=0.0 && U_V(nv) >= UV_MIN && U_V(nv) <= UV_MAX)