Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Are they packed from LSB to MSB, or vice-versa? Or is it dependent on endian of the processor?

[DiscordArchive] Are they packed from LSB to MSB, or vice-versa? Or is it dependent on endian of the processor?

[DiscordArchive] Are they packed from LSB to MSB, or vice-versa? Or is it dependent on endian of the processor?

rektbyfaith
Administrator
0
06-11-2018, 01:39 AM
#1
Archived author: Quantam • Posted: 2018-06-11T01:39:20.738000+00:00
Original source

Are they packed from LSB to MSB, or vice-versa? Or is it dependent on endian of the processor?
rektbyfaith
06-11-2018, 01:39 AM #1

Archived author: Quantam • Posted: 2018-06-11T01:39:20.738000+00:00
Original source

Are they packed from LSB to MSB, or vice-versa? Or is it dependent on endian of the processor?

rektbyfaith
Administrator
0
06-11-2018, 01:43 AM
#2
Archived author: Quantam • Posted: 2018-06-11T01:43:27.635000+00:00
Original source

Google suggests endian-dependent. So the code given should work for little endian machines
rektbyfaith
06-11-2018, 01:43 AM #2

Archived author: Quantam • Posted: 2018-06-11T01:43:27.635000+00:00
Original source

Google suggests endian-dependent. So the code given should work for little endian machines

rektbyfaith
Administrator
0
06-11-2018, 01:43 AM
#3
Archived author: Quantam • Posted: 2018-06-11T01:43:58.864000+00:00
Original source

Huh... what does Mac use these days? Do they still use big endian, or do they use little endian since switching to Intel processors?
rektbyfaith
06-11-2018, 01:43 AM #3

Archived author: Quantam • Posted: 2018-06-11T01:43:58.864000+00:00
Original source

Huh... what does Mac use these days? Do they still use big endian, or do they use little endian since switching to Intel processors?

rektbyfaith
Administrator
0
06-11-2018, 01:50 AM
#4
Archived author: Quantam • Posted: 2018-06-11T01:50:39.497000+00:00
Original source

FYI, my best guess why they use sign-mag format is fast conversion with floating-point, which uses sign-mag. You can just mask, shift, and | to get the floating-point vesion
rektbyfaith
06-11-2018, 01:50 AM #4

Archived author: Quantam • Posted: 2018-06-11T01:50:39.497000+00:00
Original source

FYI, my best guess why they use sign-mag format is fast conversion with floating-point, which uses sign-mag. You can just mask, shift, and | to get the floating-point vesion

rektbyfaith
Administrator
0
06-11-2018, 01:54 AM
#5
Archived author: Quantam • Posted: 2018-06-11T01:54:57.133000+00:00
Original source

...actually that's not true with the way floating-point stores the leading bit implicitly. Never mind.
rektbyfaith
06-11-2018, 01:54 AM #5

Archived author: Quantam • Posted: 2018-06-11T01:54:57.133000+00:00
Original source

...actually that's not true with the way floating-point stores the leading bit implicitly. Never mind.

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)