This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fastest minimum-width integer types and limits macros


On 29/09/11 20:31, Gunther Nikl wrote:
Hi!

Is there a special requirement about the value of the limits
macros for fastest minimum-width integers? Eg. would it be legal
to use the limits of a a "signed char" if int_fast8_t is defined
in terms of an int? Or is it required to use the proper limit of
int?

Thank you,
Gunther


That depends entirely on what you want to use the limit macros for. But normally, you would want to use INT_FAST8_MIN and INT_FAST8_MAX.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]