
21 Sep
2006
21 Sep
'06
1:45 p.m.
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."