?? math2.h
字號:
#ifndef __MATH2_H
#define __MATH2_H
/* Based on Everett Greene's math2_a.c
*/
#define BYTE signed char
#define UBYTE unsigned char
#define WORD signed short
#define LONG signed long
#define ULONG unsigned long
#define BOOL UBYTE
#define FALSE 0
#define TRUE (~FALSE)
typedef
union {
float f;
LONG i;} FI_union_t;
typedef
struct {
UBYTE flag,
sign;
WORD e2;
LONG m;} EFG_intd_t;
/* for decompose */
#define ZERO_CODE 1
#define DENORMALIZED_CODE 2
#define INFINITY_CODE 3
#define SIGNALLING_NaN_CODE 4
#define NONSIGNALLING_NaN_CODE 5
#define PREFIX_FLAG 0x40
#define SIGN_FLAG 0X80
BYTE _decompose(LONG *x, EFG_intd_t *y);
#if !defined(min)
#define min(x, y) ((x < y) ? x : y)
#endif
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -