Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
Typecasting goes the wrong way
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Old Wolf, post: 2964213"] It doesn't mean that. I don't know what the etymology of the word 'endian' is, but it doesn't have any bearing on the current meaning of the words. 'lowest' should read 'least significant', and you're also playing fairly loose with the word "value" here. Huh? MSB LSB is the order for big-endian, and LSB MSB is the order for little-endian. The lowest address is whichever one is on the left (that is the convention we use when writing out values that correspond to multiple memory locations). Not at all That's what it would be in little endian. In big endian, the byte [0] is 0x12 and the byte [1] is 0x34. It's [0] in big endian and [1] in little endian. It isn't confusing (to me) - little-endian says that byte 1 is LSB and byte 2 is MSB, and big-endian says that it's the other way around. I'm sure you have a point in there somewhere, but I don't see it..:) [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Typecasting goes the wrong way
Top