📄 limits.h
字号:
/*************************************************************************** Copyright Mentor Graphics Corporation 2002 * All Rights Reserved. * * THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION WHICH IS * THE PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS AND IS * SUBJECT TO LICENSE TERMS. **************************************************************************//*************************************************************************** FILENAME VERSION** LIMITS.H Nucleus Common Library 1.1** DESCRIPTION** Define numerical limits for integral types. The* actual constants and their types ultimately depend* on compiler options.** DATA STRUCTURES** none** DEPENDENCIES** ncl.h**************************************************************************/#ifndef LIMITS_H#define LIMITS_H#define NU_NCL_SOURCE_FILE#include "ncl\inc\ncl.h"#ifndef INT_MAX#define INT_MAX ((sizeof(int) == 2) ? 32767 : 2147483647UL)#endif /* INT_MAX */#ifdef INT_MIN#define INT_MIN (-INT_MAX-1)#endif /* INT_MIN */#ifndef UINT_MAX#define UINT_MAX ((sizeof(int) == 2) ? 65535 : 4294967295UL) #endif /* UINT_MAX */#ifndef LONG_MAX#define LONG_MAX 2147483647UL#endif /* LONG_MAX */#ifndef LONG_MIX#define LONG_MIN (-LONG_MAX-1)#endif /* LONG_MIN */#ifndef ULONG_MAX#define ULONG_MAX 4294967295UL#endif /* ULONG_MAX */#undef NU_NCL_SOURCE_FILE#endif /* LIMITS_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -