Topic List | Page List: 1 |
---|---|
Topic | Writing an NES emulator ama |
Sahuagin 03/25/24 10:55:29 PM #24: | I don't think what you've said about floats and bools is correct. floats are 4 bytes/32 bits. doubles are 8 bytes/64 bits.
bools are in many places 4 bytes/32 bits, except in arrays they are 1 byte (each). I don't have a hexdump of memory to confirm this, but some quick tests do seem to confirm it: https://ideone.com/4ELLjh Size of a single Single in bytes is 4. --- This day is gone. We can't relive it. It's gone forever. ... Copied to Clipboard! |
Topic List | Page List: 1 |