4 ms·
One thing to note is that long int is the same size as int on x64 Windows, at least in the MSVC ABI. clang also conforms to this. This is relevant to the quest
by Cu3PO42 4y ago
One thing to note is that long int is the same size as int on x64 Windows, at least in the MSVC ABI. clang also conforms to this.
This is relevant to the question asking if -1L > 1U.
- auxym 4y agosame with ARM-EABI (32bit cortex-M MCUs). Int and long int are both 32 bits.
- MobiusHorizons 4y agoI think that is expected (it’s what happens for x86 as well) what’s surprising about the parent is that long is apparently 32 bit on windows x64. Usually long should be 64 bit on a machine with 64 bit words