S
santosh
Hello all,
In section 7.18.1.5 the Standard says that intmax_t and uintmax_t
designate signed and unsigned integer types capable of representing any
value of any signed or unsigned integer type, respectively.
Is this restricted to Standard types like long long and unsigned long
long or must intmax_t and uintmax_t take into account any extended
width types provided by the implementation? For example if an
implementation provides a 128 bit integer type, should intmax_t and
uintmax_t be typedefs for this type?
The wording "capable of representing any value of any (un)signed integer
type" is ambiguous.
Thanks.
In section 7.18.1.5 the Standard says that intmax_t and uintmax_t
designate signed and unsigned integer types capable of representing any
value of any signed or unsigned integer type, respectively.
Is this restricted to Standard types like long long and unsigned long
long or must intmax_t and uintmax_t take into account any extended
width types provided by the implementation? For example if an
implementation provides a 128 bit integer type, should intmax_t and
uintmax_t be typedefs for this type?
The wording "capable of representing any value of any (un)signed integer
type" is ambiguous.
Thanks.