From: Jarkko Hietaniemi Date: Thu, 9 Sep 1999 07:29:17 +0000 (+0000) Subject: Tidy up 64-bit situation in perldelta. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1fad5d67a57e82e2e07162e77599f2d6d5f7a565;p=p5sagit%2Fp5-mst-13.2.git Tidy up 64-bit situation in perldelta. p4raw-id: //depot/cfgperl@4110 --- diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 69beac3..2561cde 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.