
Data Types
5-4
5.2 Data Types
-
All integral types (char, short, int, and their unsigned counterparts) are
equivalent types and are represented as 16-bit binary values.
-
Long and unsigned long types are represented as 32-bit binary values.
-
Signed types are represented in 2s-complement notation.
-
The type char is a signed type, equivalent to int.
-
Objects of type enum are represented as 16-bit values; the type enum is
equivalent to int in expressions.
-
All floating-point types (float, double, and long double) are equivalent and
are represented in the TMS320C2x/C2xx/C5x’s 32-bit floating-point
format.
-
Longs and floats are stored in memory with the least significant word at
the lower address.
1 lists the size, representation, and range of each scalar data type.
Содержание TMS320C2x
Страница 8: ...viii...
Страница 69: ...2 47 C Compiler Description...
Страница 159: ...6 36...
Страница 226: ...8 6...
Страница 250: ...Index Index 14 Z z shell option 2 2 2 4 2 14 overriding with c option 4 5 overriding with n option 2 13...