⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stdefs.h

📁 Audacity是一款用於錄音和編輯聲音的、免費的開放源碼軟體。它可以執行於Mac OS X、Microsoft Windows、GNU/Linux和其它作業系統
💻 H
字号:
/* stdefs.h */#ifndef TRUE#define TRUE  1#endif#ifndef FALSE#define FALSE 0#endif#ifndef PI#define PI  (3.14159265358979323846)#endif#ifndef PI2#define PI2 (6.28318530717958647693)#endif#define D2R (0.01745329348)          /* (2*pi)/360 */#define R2D (57.29577951)            /* 360/(2*pi) */#ifndef MAX#define MAX(x,y) ((x)>(y) ?(x):(y))#endif#ifndef MIN#define MIN(x,y) ((x)<(y) ?(x):(y))#endif#ifndef ABS#define ABS(x)   ((x)<0   ?(-(x)):(x))#endif#ifndef SGN#define SGN(x)   ((x)<0   ?(-1):((x)==0?(0):(1)))#endiftypedef float mem_float;typedef double fast_float;/* I took out this typedef because the same thing * exists in cext.h which causes a conflict:  -RBDtypedef unsigned char boolean; */#include "cext.h"#define true 1#define false 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -