Previous Table of Contents "New C Standard" commentary
303
The values given below shall be replaced by constant expressions
suitable for use in
304
Moreover, except for
305 Their implementation-defined values shall be equal or greater in magnitude (absolute value) to those shown, with the same sign.
306 14) See future language directions (6.11.3).
307 number of bits for smallest object that is not a bit-field (byte)
CHAR_BIT 8
308
minimum value for an object of type
SCHAR_MIN -127 // -(27-1)
309
maximum value for an object of type
SCHAR_MAX +127 // 27-1
310
maximum value for an object of type
UCHAR_MAX 255 // 28-1
311
minimum value for an object of type
CHAR_MIN see below
312
maximum value for an object of type
CHAR_MAX see below
313 maximum number of bytes in a multibyte character, for any supported locale
MB_LEN_MAX 1
314
minimum value for an object of type
SHRT_MIN -32767 // -(215-1)
315
maximum value for an object of type
SHRT_MAX +32767 // 215-1
316
maximum value for an object of type
USHRT_MAX 65535 // 216-1
317
minimum value for an object of type
INT_MIN -32767 // -(215-1)
318
maximum value for an object of type
INT_MAX +32767 // 215-1
319
maximum value for an object of type
UINT_MAX 65535 // 216-1
320
minimum value for an object of type
LONG_MIN -2147483647 // -(231-1)
321
maximum value for an object of type
LONG_MAX +2147483647 // 231-1
322
maximum value for an object of type
ULONG_MAX 4294967295 // 232-1
323
minimum value for an object of type
LLONG_MIN -9223372036854775807 // -(263-1)
324
maximum value for an object of type
LLONG_MAX +9223372036854775807 // 263-1
325
maximum value for an object of type
ULLONG_MAX 18446744073709551615 // 264-1
326
If the value of an object of type
327
Otherwise, the value of
328
The value
329 Forward references: representations of types (6.2.6), conditional inclusion (6.10.1).
Next
Created at: 2008-01-30 02:39:40
The text from WG14/N1256 is copyright © ISO