5.58 In two’s complement representation, INT_MIN < -INT_MAX. |
5.59 Negation may overflow for signed arithmetic. |
5.60 Use unsigned types for bit operations. |
5.61 If the type uintN_t is provided, it is an unsigned integer type with exactly N bits of width and precision. |
5.62 If the type intN_t is provided, it is signed, with two’s complement representation and has a width of exactly N bits and a precision of N – 1. |
5.63 If types with the required properties exist for values of N = 8, 16, 32, and 64, types uintN_t and intN_t, respectively, must be provided. |
5.64 For any of the fixed-width types that are provided, _MIN (only signed), maximum _MAX, and literals _C macros are provided, too. |
5.65 Floating-point operations ... |
Get Modern C now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.