home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
PROGRAM
/
DJEMU106.ZIP
/
EMU387
/
CONST.CC
< prev
next >
Wrap
C/C++ Source or Header
|
1991-08-31
|
1KB
|
21 lines
#include "emu.h"
#include "const.h"
reg CONST_1 = { SIGN_POS, TW_V, EXP_BIAS, 0x00000000, 0x80000000 };
reg CONST_2 = { SIGN_POS, TW_V, EXP_BIAS+1, 0x00000000, 0x80000000 };
reg CONST_HALF = { SIGN_POS, TW_V, EXP_BIAS-1, 0x00000000, 0x80000000 };
reg CONST_L2T = { SIGN_POS, TW_V, EXP_BIAS+1, 0xcd1b8afe, 0xd49a784b };
reg CONST_L2E = { SIGN_POS, TW_V, EXP_BIAS, 0x5c17f0bc, 0xb8aa3b29 };
reg CONST_PI = { SIGN_POS, TW_V, EXP_BIAS+1, 0x2168c235, 0xc90fdaa2 };
reg CONST_PI2 = { SIGN_POS, TW_V, EXP_BIAS, 0x2168c235, 0xc90fdaa2 };
reg CONST_PI4 = { SIGN_POS, TW_V, EXP_BIAS-1, 0x2168c235, 0xc90fdaa2 };
reg CONST_LG2 = { SIGN_POS, TW_V, EXP_BIAS-2, 0xfbcff799, 0x9a209a84 };
reg CONST_LN2 = { SIGN_POS, TW_V, EXP_BIAS-1, 0xd1cf79ac, 0xb17217f7 };
reg CONST_Z = { SIGN_POS, TW_Z, 0, 0x0, 0x0 };
reg CONST_PINF = { SIGN_POS, TW_S, EXP_MAX, 0x00000000, 0x80000000 };
reg CONST_NINF = { SIGN_NEG, TW_S, EXP_MAX, 0x00000000, 0x80000000 };
reg CONST_NAN = { SIGN_NEG, TW_S, EXP_MAX, 0x00000000, 0xC0000000 };