diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-09-09 07:29:17 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-09-09 07:29:17 +0000 |
commit | 1fad5d67a57e82e2e07162e77599f2d6d5f7a565 (patch) | |
tree | 1c7d5ebdf83ea468a445cf58c86201dd2ca5c85d /pod | |
parent | 2ab053812751d8a65a6b8eda6829e97c0876564b (diff) | |
download | perl-1fad5d67a57e82e2e07162e77599f2d6d5f7a565.tar.gz |
Tidy up 64-bit situation in perldelta.
p4raw-id: //depot/cfgperl@4110
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldelta.pod | 13 |
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. |