|
|
1.1 ! root 1: ! 2: ! 3: limits.h Header File limits.h ! 4: ! 5: ! 6: ! 7: ! 8: Define numerical limits ! 9: ! 10: #include <limits.h> ! 11: ! 12: The header file lliimmiittss.hh defines macros that set the numerical ! 13: limits for the translation environment. It is described in ! 14: sections 2.2.4.2 and 4.1.4 of the ANSI Standard. ! 15: ! 16: The following table gives the macros defined in lliimmiittss.hh. Each ! 17: value given is the macro's minimum maximum: a conforming ! 18: implementation of C must meet these limits, and may exceed them. ! 19: ! 20: CCHHAARR_BBIITT ! 21: Number of bits in a cchhaarr. This must be at least eight. ! 22: ! 23: CCHHAARR_MMAAXX ! 24: Largest value representable in an object of type cchhaarr. If ! 25: the implementation defines a cchhaarr to be signed, then it is ! 26: equal to the value of the macro SSCCHHAARR_MMAAXX; otherwise, it is ! 27: equal to the value of the macro UUCCHHAARR_MMAAXX. ! 28: ! 29: CCHHAARR_MMIINN ! 30: Smallest value representable in an object of type cchhaarr. If ! 31: the implementation defines a cchhaarr to be signed, then it is ! 32: equal to the value of the macro SSCCHHAARR_MMIINN; otherwise, it is ! 33: zero. ! 34: ! 35: IINNTT_MMAAXX ! 36: Largest value representable in an object of type iinntt; it ! 37: must be at least 32,767 (0x7FFF). ! 38: ! 39: IINNTT_MMIINN ! 40: Smallest value representable in an object of type iinntt; it ! 41: must be at most -32,767 (0x8000). ! 42: ! 43: LLOONNGG_MMAAXX ! 44: Largest value representable in an object of type lloonngg iinntt; ! 45: it must be at least 2,147,483,647 (0x7FFFFFFFL). ! 46: ! 47: LLOONNGG_MMIINN ! 48: Smallest value representable in an object of type lloonngg iinntt; ! 49: it must be at most -2,147,483,647 (0x80000000L). ! 50: ! 51: MMBB_LLEENN_MMAAXX ! 52: Largest number of bytes in any multibyte character, for any ! 53: locale; it must be at least one. ! 54: ! 55: SSCCHHAARR_MMAAXX ! 56: Largest value representable in an object of type ssiiggnneedd ! 57: cchhaarr; it must be at least 127. ! 58: ! 59: SSCCHHAARR_MMIINN ! 60: Smallest value representable in an object of type ssiiggnneedd ! 61: cchhaarr; it must be at most -127. ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66: ! 67: ! 68: ! 69: limits.h Header File limits.h ! 70: ! 71: ! 72: ! 73: ! 74: SSHHRRTT_MMAAXX ! 75: Largest value representable in an object of type sshhoorrtt iinntt; ! 76: it must be at least 32,767 ((sshhoorrtt)0x7FFF). ! 77: ! 78: SSHHRRTT_MMIINN ! 79: Smallest value representable in an object of type sshhoorrtt iinntt; ! 80: it must be at most -32,767 ((sshhoorrtt)0x8000). ! 81: ! 82: UUCCHHAARR_MMAAXX ! 83: Largest value representable in an object of type uunnssiiggnneedd ! 84: cchhaarr; it must be at least 255. ! 85: ! 86: UUIINNTT_MMAAXX ! 87: Largest value representable in an object of type uunnssiiggnneedd ! 88: iinntt; it must be at least 65,535 ((uunnssiiggnneedd iinntt)0xFFFF). ! 89: ! 90: UULLOONNGG_MMAAXX ! 91: Largest value representable in an object of type uunnssiiggnneedd ! 92: lloonngg iinntt; it must be at least 4,294,967,295 ((uunnssiiggnneedd ! 93: lloonngg)0xFFFFFFFFL). ! 94: ! 95: UUSSHHRRTT_MMAAXX ! 96: Largest value representable in an object of type uunnssiiggnneedd ! 97: sshhoorrtt iinntt; it must be at least 65,535 ((uunnssiiggnneedd ! 98: sshhoorrtt)0xFFFF). ! 99: ! 100: ***** See Also ***** ! 101: ! 102: hheeaaddeerr ffiilleess ! 103: ! 104: ! 105: ! 106: ! 107: ! 108: ! 109: ! 110: ! 111: ! 112: ! 113: ! 114: ! 115: ! 116: ! 117: ! 118: ! 119: ! 120: ! 121: ! 122: ! 123: ! 124: ! 125: ! 126: ! 127: ! 128: ! 129: ! 130: COHERENT Lexicon Page 2 ! 131: ! 132:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.