TMS34010 C Compiler - Al Kossow's Bitsavers
TMS34010 C Compiler - Al Kossow's Bitsavers
TMS34010 C Compiler - Al Kossow's Bitsavers
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>TMS34010</strong> C Language - Identifiers, Keywords, and Constants<br />
it treats them as ordinary doubles. The L suffix is supported to provide<br />
compatibility with ANSI C.<br />
Examples of floating-point constants include:<br />
1.234; /* double */<br />
1.0e14F; /* float */<br />
3.14159L; /* double */<br />
Suffixes can be upper or lower case.<br />
Added type - Enumeration Constants<br />
An enumeration constant is an additional type of integer constant that<br />
is not described by K&R. An identifier that is declared as an enumerator can<br />
be used in the same manner as an integer constant. (For more information<br />
about enumerators, see Section 4.6 on page 4-8.)<br />
K&R 2.5 - String Constants<br />
• K&R C does not limit the length of string constants; however,<br />
<strong>TMS34010</strong> C limits the length of string constants to 255 bytes.<br />
• <strong>Al</strong>l characters after an embedded null byte in a string constant are ignored;<br />
in other words, the first null byte terminates the string. However,<br />
this does not apply to strings used to initialize arrays of characters.<br />
• Identical string constants are stored as a single string, not as<br />
separate strings as in K& R C. However, this does not apply to strings<br />
used to autoinitialize arrays of characters.<br />
4-3