📄 fnmathematical.h
字号:
// FnMathematical.h: interface for the FnMath class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_FNMATH_H__30B7D88B_BB9B_11D2_9B76_204C4F4F5020__INCLUDED_)
#define AFX_FNMATH_H__30B7D88B_BB9B_11D2_9B76_204C4F4F5020__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#define STR_PRECISION "(%.15le,%.15le)\n"
#define ROUND(x) ((ceil(x) - (x)) > ((x) - floor(x))) ? floor(x) : ceil(x);
#define PI 3.14159265
#define MAX(x,y) ((x)>(y))?x:y;
#define MIN(x,y) ((x)<(y))?x:y;
#define MAX_RAND (pow(2.0,31.0)-1.0) //(2**31)-1
#endif // !defined(AFX_FNMATH_H__30B7D88B_BB9B_11D2_9B76_204C4F4F5020__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -