T
tnowles00
Hi,
Using GCC on my G4, if I have a calculation like this:
#include <stdint.h>
uint64_t a = 0xffff * 0xffff ;
the result will be clobbered to 32 bits because that's the length of an
integer. I want to keep all the intermediate steps at 64 bits without
peppering my operands with (uint64_t) casts.
It would help if my default sizeof(int) were 8, I guess.
Using GCC on my G4, if I have a calculation like this:
#include <stdint.h>
uint64_t a = 0xffff * 0xffff ;
the result will be clobbered to 32 bits because that's the length of an
integer. I want to keep all the intermediate steps at 64 bits without
peppering my operands with (uint64_t) casts.
It would help if my default sizeof(int) were 8, I guess.