English
Language : 

CC78K0S Datasheet, PDF (179/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
CHAPTER 10 LIBRARY FUNCTIONS
When the -ZI option (int and short types are regarded as char type, unsigned int and unsigned short as
unsigned char) is specified as a compiler option, INT_MAX, INT_MIN, SHRT_MAX, SHRT_MIN, SINT_MAX,
SINT_MIN, SSHRT_MAX, SSHRT_MIN, UINT_MAX, and USHRT_MAX are declared as follows, via the macro
_ _FROM_INT_TO_CHAR_ _ declared by the compiler.
#define INT_MAX
#define INT_MIN
#define SHRT_MAX
#define SHRT_MIN
#define SINT_MAX
#define SINT_MIN
#define SSHRT_MAX
#define SSHRT_MIN
#define UINT_MAX
#define USHRT_MAX
CHAR_MAX
CHAR_MIN
CHAR_MAX
CHAR_MIN
SCHAR_MAX
SCHAR_MIN
SCHAR_MAX
SCHAR_MIN
UCHAR_MAX
UCHAR_MIN
When the -ZL option (long type is regarded as int type and unsigned long as unsigned int) is specified as a
compiler option, LONG_MAX, LONG_MIN, and ULONG_MAX are declared as follows, via the macro
_ _FROM_LONG_TO_INT_ _ declared by the compiler.
#define LONG_MAX
#define LONG_MIN
#define ULONG_MAX
(+32767)
(-32768)
(65535U)
User’s Manual U14872EJ1V0UM
179