From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-09-21 09:45:54


Hartmut Kaiser wrote:
> Peter Dimov wrote:
>
>> You need the C standard to get the complete picture; it
>> states that USHRT_MAX is at least 65535.
>
> The corresponding section of the C Standard you're referring to states
> [Appendix E:1, implementation limits (informative)]:

I was thinking about 5.2.4.2.1 (in C99, I don't have C90 to check.)

"Their implementation-defined values shall be equal or greater in magnitude
(absolute value) to those shown, with the same sign."