3 ms·
Some of these advantages are pretty dubious. Detecting whether a number is odd or even or getting the sign bit aren't impacted by endianness, as the CPU isn't w
by jfim 4y ago
Some of these advantages are pretty dubious. Detecting whether a number is odd or even or getting the sign bit aren't impacted by endianness, as the CPU isn't working with single bytes at a time.
- samatman 4y agoOk, this is a huge reach, but: with big endian, you can determine the sign of the int at a pointer address without knowing the width of what's pointed at, with little endian, the parity. It's hard for me to call either of those advantages in anything but the most technical sense, but it's there.