Uninitialized vector entry?
[minix3.git] / lib / float / FP_shift.h
blob5b685636f9551984351ac0340871bc9150ff75c8
1 /*
2 (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 See the copyright notice in the ACK home directory, in the file "Copyright".
4 */
6 /* $Header$ */
8 /*
9 include file for floating point package
12 # define CARRYBIT 0x80000000L
13 # define NORMBIT 0x80000000L
14 # define EXP_STORE 16
17 /* parameters for Single Precision */
18 #define SGL_EXPSHIFT 7
19 #define SGL_M1LEFT 8
20 #define SGL_ZERO 0xffffff80L
21 #define SGL_EXACT 0xff
22 #define SGL_RUNPACK SGL_M1LEFT
24 #define SGL_ROUNDUP 0x80
25 #define SGL_CARRYOUT 0x01000000L
26 #define SGL_MASK 0x007fffffL
28 /* parameters for Double Precision */
29 /* used in extend.c */
31 #define DBL_EXPSHIFT 4
33 #define DBL_M1LEFT 11
35 #define DBL_RPACK (32-DBL_M1LEFT)
36 #define DBL_LPACK DBL_M1LEFT
38 /* used in compact.c */
40 #define DBL_ZERO 0xfffffd00L
42 #define DBL_EXACT 0x7ff
44 #define DBL_RUNPACK DBL_M1LEFT
45 #define DBL_LUNPACK (32-DBL_RUNPACK)
47 #define DBL_ROUNDUP 0x400
48 #define DBL_CARRYOUT 0x00200000L
49 #define DBL_MASK 0x000fffffL