diff options
author | Jonathan D Johnston <jdjohnston2@juno.com> | 2000-08-17 19:13:01 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-19 15:39:09 +0000 |
commit | b35e152f3ee71db2f423521c02a914217688f184 (patch) | |
tree | 5acb7f2691142994730f25a0e387646a5d725d51 | |
parent | 2edbd6dac2bb2abcd4bc2c6669162b31938fd4fd (diff) | |
download | perl-b35e152f3ee71db2f423521c02a914217688f184.tar.gz |
[ID 20000817.023] endianness description in perlfunc.pod
Message-Id: <20000817.231304.-743351.1.jdjohnston2@juno.com>
p4raw-id: //depot/perl@6715
-rw-r--r-- | pod/perlfunc.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index fd724a1704..5c8f88a10b 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -3153,8 +3153,8 @@ because they obey the native byteorder and endianness. For example a 4-byte integer 0x12345678 (305419896 decimal) be ordered natively (arranged in and handled by the CPU registers) into bytes as - 0x12 0x34 0x56 0x78 # little-endian - 0x78 0x56 0x34 0x12 # big-endian + 0x12 0x34 0x56 0x78 # big-endian + 0x78 0x56 0x34 0x12 # little-endian Basically, the Intel, Alpha, and VAX CPUs are little-endian, while everybody else, for example Motorola m68k/88k, PPC, Sparc, HP PA, |