mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-28 15:03:40 +01:00
Tidy up numeric ranges
parent
08f43725ef
commit
d1aa7e69ba
@ -263,15 +263,21 @@ If codes aren't aligned, they may not work, or may cause your AR to spaz out.
|
||||
|
||||
Unsigned means:
|
||||
|
||||
- For 8-bits: 0x00 -> 0xFF = 0 to 255.
|
||||
- For 16-bits: 0x0000 -> 0xFFFF = 0 to 65535.
|
||||
- For 32-bits: 0x00000000 -> 0xFFFFFFFF = 0 to 4294967295.
|
||||
- For 8-bits:
|
||||
- 0x00–0xFF = 0 to 255.
|
||||
- For 16-bits:
|
||||
- 0x0000–0xFFFF = 0 to 65535.
|
||||
- For 32-bits:
|
||||
- 0x00000000–0xFFFFFFFF = 0 to 4294967295.
|
||||
|
||||
Signed means:
|
||||
|
||||
- For 8-bits: 0x00 -> 0x7F = 0 to 127.
|
||||
- 0x80 -> 0xFF = -127 to -1.
|
||||
- For 16-bits: 0x0000 -> 0x7FFF = 0 to 32767.
|
||||
- 0x8000 -> 0xFFFF = -32768 to -1.
|
||||
- For 32-bits: 0x00000000 -> 0x7FFFFFFF = 0 to 2147483647.
|
||||
- 0x80000000 -> 0xFFFFFFFF = -2147483648 to -1.
|
||||
- For 8-bits:
|
||||
- 0x00–0x7F = 0 to 127.
|
||||
- 0x80–0xFF = -127 to -1.
|
||||
- For 16-bits:
|
||||
- 0x0000–0x7FFF = 0 to 32767.
|
||||
- 0x8000–0xFFFF = -32768 to -1.
|
||||
- For 32-bits:
|
||||
- 0x00000000–0x7FFFFFFF = 0 to 2147483647.
|
||||
- 0x80000000–0xFFFFFFFF = -2147483648 to -1.
|
Loading…
x
Reference in New Issue
Block a user