📄 dummy_limits.h
字号:
// A workaround for old compilers.
namespace std
{
template<class T> struct numeric_limits
{
};
template<> struct numeric_limits<int>
{
static int min() { return -0x80000000; }
static int max() { return 0x7fffffff; }
};
template<> struct numeric_limits<float>
{
static float min() { return -1e38; }
static float max() { return 1e38; }
};
template<> struct numeric_limits<double>
{
static double min() { return -1e308; }
static double max() { return 1e308; }
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -