summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-08-02 18:34:49 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-02 18:34:49 +0000
commit9c107f78ffc8d3bea801c79d837024be61c1298e (patch)
treece50eaa01e75cfe1b8fb801d867a300ce063336c /pod
parent49c2bfa87719c592555c8a1565beed6210354bc0 (diff)
downloadperl-9c107f78ffc8d3bea801c79d837024be61c1298e.tar.gz
Update PERL_BINCOMPAT_5005; update 64-bitness.
p4raw-id: //depot/cfgperl@3898
Diffstat (limited to 'pod')
-rw-r--r--pod/perldelta.pod41
1 files changed, 30 insertions, 11 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index ad0abccc6c..029d3154b6 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -111,10 +111,8 @@ from the change.
=head2 Binary Incompatibilities
-The default build of this release can be made binary compatible with the
-5.005 release or its maintenance versions. Add -DPERL_BINCOMPAT_5005
-to ccflags in config.sh to achieve this. See INSTALL for further
-information about adding build flags to config.sh.
+The default build of this release is binary compatible with the 5.005
+release or its maintenance versions.
The usethreads or usemultiplicity builds are B<not> binary compatible
with the corresponding builds in 5.005.
@@ -147,13 +145,34 @@ The length argument of C<syswrite()> is now optional.
=head2 64-bit support
-Better 64-bit support -- but full support still a distant goal. One
-must Configure with -Duse64bits to get Configure to probe for the
-extent of 64-bit support. Depending on the platform (hints file) more
-or less 64-awareness becomes available. As of 5.005_54 at least
-somewhat 64-bit aware platforms are HP-UX 11 or better, Solaris 2.6 or
-better, IRIX 6.2 or better. Naturally 64-bit platforms like Digital
-Unix and UNICOS also have 64-bit support.
+All platforms that have 64-bit integers either (a) natively as longs
+or ints (b) via special compiler flags (c) using long long are able to
+use "quads" (64-integers) as follows:
+
+=over 4
+
+=item constants in the code
+
+=item arguments to oct() and hex()
+
+=item arguments to print(), printf() and sprintf()
+
+=item pack() and unpack() "q" format
+
+=item in basic arithmetics
+
+=back
+
+Note that unless you have the case (a) you will have to configure
+and compile Perl using the -Duse64bits Configure flag.
+
+Unfortunately, bit operations (&, <<, ...) and vec() do not work,
+they are limited to 32 bits.
+
+Last but not least: note that due to Perl's tendency to always use
+floating point numbers the quads are not true integers. They may lose
+their precision due to rounding errors, and when they get large their
+less significant digits will fall off.
=head2 Better syntax checks on parenthesized unary operators