|
|
1.1 root 1: /*---------------------------------------------------------------------------+
2: | control_w.h |
3: | |
4: | Copyright (C) 1992 W. Metzenthen, 22 Parker St, Ormond, Vic 3163, |
5: | Australia. E-mail [email protected] |
6: | |
7: +---------------------------------------------------------------------------*/
8:
9: #ifndef _CONTROLW_H_
10: #define _CONTROLW_H_
11:
12: #ifdef __ASSEMBLER__
13: #define _Const_(x) $##x
14: #else
15: #define _Const_(x) x
16: #endif
17:
18: #define CW_RC _Const_(0x0C00) /* rounding control */
19: #define CW_PC _Const_(0x0300) /* precision control */
20: #define CW_PM _Const_(0x0020) /* precision mask */
21: #define CW_UM _Const_(0x0010) /* underflow mask */
22: #define CW_OM _Const_(0x0008) /* overflow mask */
23: #define CW_ZM _Const_(0x0004) /* divide by zero mask */
24: #define CW_DM _Const_(0x0002) /* denormalized operand mask */
25: #define CW_IM _Const_(0x0001) /* invalid operation mask */
26: #define CW_EXM _Const_(0x007f) /* all masks */
27:
28: #define RC_RND _Const_(0x0000)
29: #define RC_DOWN _Const_(0x0400)
30: #define RC_UP _Const_(0x0800)
31: #define RC_CHOP _Const_(0x0C00)
32:
33: #endif _CONTROLW_H_
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.