Texas Instruments TMS34010 Reference Manual page 40

C compiler
Hide thumbs Also See for TMS34010:
Table of Contents

Advertisement

TMS34010 C Language - Identifiers, Keywords, and Constants
it treats them as ordinary doubles. The L suffix is supported to provide
compatibility with ANSI C.
Examples of floating-point constants include:
1.234;
/*
double
*/
1.0e14F;
/*
float
*/
3.14159L;
/*
double
*/
Suffixes can be upper or lower case.
Added type - Enumeration Constants
An enumeration constant is an additional type of integer constant that
is not described by K&R. An identifier that is declared as an enumerator can
be used in the same manner as an integer constant. (For more information
about enumerators, see Section 4.6 on page 4-8.)
K&R
2.5 -
String Constants
K&R C does not limit the length of string constants;
however,
TMS34010 C limits the length of string constants to 255 bytes.
All characters after an embedded null byte in a string constant are ig-
nored; in other words, the first null byte terminates the string. However,
this does not apply to strings used to initialize arrays of characters.
Identical string constants are stored as a single string, not as
separate strings as in K& R C. However, this does not apply to strings
used to autoinitialize arrays of characters.
4-3

Advertisement

Table of Contents
loading

Table of Contents