Http://www.acm.uiuc.edu/webmonkeys/book/c_guide/2.5.html.
Author: Eric Huss
Chinese translator: Liu jinhong poechant
Copyright Disclaimer: the original text in this article is copyrighted by Eric Huss, and the Chinese translation is copyrighted by poechant. Reprinted please indicate from "LIU Da's csdn blog": http://blog.csdn.net/poechant
5. Limits. h
This header file defines the characteristics of the variable type.
5.1. defined values
The following values are composed# DefineCommand definition. These values are determined by the implementation, but are generally not smaller than the values given below.
Char_bit 8 |
The number of digits in a single byte. |
Schar_min-127 |
The minimum value of a signed character. |
Schar_max + 127 |
The maximum value of a signed character. |
Uchar_max 255 |
The maximum value of an unsigned character. |
Char_min Char_max |
Defines the maximum and minimum values of characters. If a character is treated as a signed integer, its value and the signed integer type (Schar) Is the same. Otherwise,Char_minIs 0,Char_maxThe maximum value of the unsigned struct type (Uchar_max). |
Mb_len_max 1 |
The maximum number of characters that can contain multiple bytes. |
Shrt_min-32767 |
The minimum value of a short integer. |
Shrt_max + 32767 |
The maximum value of a short integer. |
Ushrt_max 65535 |
The maximum value of the unsigned short integer. |
Int_minutes-32767 |
The minimum value of an integer. |
Int_max + 32767 |
The maximum value of an integer. |
Uint_max 65535 |
The maximum value of an unsigned long integer. |
Long _ Min-2147483647 |
The minimum value of a long integer. |
Long_max + 2147483647 |
The maximum value of a long integer. |
Ulong_max 4294967295 |
The maximum value of an unsigned long integer. |
This series of translations is being updated continuously
(1) assert. HC standard Library Reference Guide series (2) ctype. HC standard Library Reference Guide series (3) errno. HC standard Library Reference Guide series (4) float. HC standard Library Reference Guide series (5) limits. HC standard Library Reference Guide series (6) locale. HC standard Library Reference Guide series (7) math. HC standard Library Reference Guide series (8) setjmp. HC standard Library Reference Guide series translations (9) signal. HC standard Library Reference Guide series translations (10) stdarg. HC standard Library Reference Guide series (11) stddef. HC standard Library Reference Guide series translations (12) stdio. H ()
-
Copyright Disclaimer: the original text in this article is copyrighted by Eric Huss, and the Chinese translation is copyrighted by poechant. Reprinted please indicate from "LIU Da's csdn blog": http://blog.csdn.net/poechant
-