 | C251 User's Guide |  |
|
|
| Predefined MacrosThe C251 Compiler provides the following predefined constants you may use in preprocessor directives and C code to create portable programs. | Constant | Description |
|---|
| __C251__ | Version number of the compiler (for example, 401 for version 4.01). | | __DATE__ | Date when the compilation was started in ANSI format (month dd yyyy). | | __DATE2__ | Date when the compilation was started in short form (mm/dd/yy). | | __FILE__ | Name of the file being compiled. | | __LINE__ | Current line number in the file being compiled. | | __MODEL__ | Memory model selected: | | __TIME__ | Time when the compilation was started. | | __STDC__ | Defined to 1 to indicate full conformance with the ANSI C Standard. | | __FLOAT64__ | Defined to 0 to indicate that 32-bit floating-point numbers are used. Defined to 1 if the FLOAT64 directive is given either by invocation or #pragma. FLOAT64 changes the floating point math to double precision (64-bit). | | __MODSRC__ | Defined to 0 if the binary mode of the 251 MCU is specified either by invocation or #pragma. Defined to 1 if the source mode of the 251 MCU is specified. |
Note - There are two (2) leading and trailing underscore characters ('_') used for the predefined constants.
|
|