This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Two or three initial observations on the fp prining patch
Paolo Carlini wrote:
... or we can just include limits.h and with a simple macro, using
INT_MAX
and so on, typedef unsigned32 to the appropriate type...
My apologies: this is not correct, since we need the sizes of the
*target* machine!
... but "luckily" those sizes too are available via 'tm.h' measured in bits:
SHORT_TYPE_SIZE, INT_TYPE_SIZE, etc...
Paolo.