summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-09-09 07:29:17 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-09-09 07:29:17 +0000
commit1fad5d67a57e82e2e07162e77599f2d6d5f7a565 (patch)
tree1c7d5ebdf83ea468a445cf58c86201dd2ca5c85d /pod
parent2ab053812751d8a65a6b8eda6829e97c0876564b (diff)
downloadperl-1fad5d67a57e82e2e07162e77599f2d6d5f7a565.tar.gz
Tidy up 64-bit situation in perldelta.
p4raw-id: //depot/cfgperl@4110
Diffstat (limited to 'pod')
-rw-r--r--pod/perldelta.pod13
1 files changed, 8 insertions, 5 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 69beac3e99..2561cde199 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -150,15 +150,17 @@ use "quads" (64-integers) as follows:
=over 4
-=item constants in the code
+=item constants (decimal, hexadecimal, octal, binary) in the code
=item arguments to oct() and hex()
-=item arguments to print(), printf() and sprintf()
+=item arguments to print(), printf() and sprintf() (flag prefixes ll, L, q)
-=item pack() and unpack() "q" format
+=item printed as such
-=item in basic arithmetics
+=item pack() and unpack() "q" and "Q" formatS
+
+=item in basic arithmetics: + - * / %
=item vec() (but see the below note about bit arithmetics)
@@ -167,7 +169,8 @@ use "quads" (64-integers) as follows:
Note that unless you have the case (a) you will have to configure
and compile Perl using the -Duse64bits Configure flag.
-Unfortunately bit arithmetics (&, |, ^, ~, <<, >>) are not 64-bit clean.
+Unfortunately bit arithmetics (&, |, ^, ~, <<, >>) are not 64-bit clean,
+they are explictly forced to be 32-bit.
Last but not least: note that due to Perl's habit of always using
floating point numbers the quads are still not true integers.