FP_shift.h

Go to the documentation of this file.
00001 /*
00002   (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.
00003   See the copyright notice in the ACK home directory, in the file "Copyright".
00004 */
00005 
00006 /* $Header: /opt/proj/minix/cvsroot/src/lib/ack/fphook/FP_shift.h,v 1.1 2005/10/10 15:27:43 beng Exp $ */
00007 
00008 /*
00009         include file for floating point package
00010 */
00011 
00012 # define        CARRYBIT        0x80000000L
00013 # define        NORMBIT         0x80000000L
00014 # define        EXP_STORE       16
00015 
00016 
00017                                 /* parameters for Single Precision */
00018 #define SGL_EXPSHIFT    7
00019 #define SGL_M1LEFT      8
00020 #define SGL_ZERO        0xffffff80L
00021 #define SGL_EXACT       0xff
00022 #define SGL_RUNPACK     SGL_M1LEFT
00023 
00024 #define SGL_ROUNDUP     0x80
00025 #define SGL_CARRYOUT    0x01000000L
00026 #define SGL_MASK        0x007fffffL
00027 
00028                                 /* parameters for Double Precision */
00029                                 /* used in extend.c */
00030 
00031 #define DBL_EXPSHIFT    4
00032 
00033 #define DBL_M1LEFT      11
00034 
00035 #define DBL_RPACK       (32-DBL_M1LEFT)
00036 #define DBL_LPACK       DBL_M1LEFT
00037 
00038                                 /* used in compact.c */
00039 
00040 #define DBL_ZERO        0xfffffd00L
00041 
00042 #define DBL_EXACT       0x7ff
00043 
00044 #define DBL_RUNPACK     DBL_M1LEFT
00045 #define DBL_LUNPACK     (32-DBL_RUNPACK)
00046 
00047 #define DBL_ROUNDUP     0x400
00048 #define DBL_CARRYOUT    0x00200000L
00049 #define DBL_MASK        0x000fffffL

Generated on Fri Apr 14 22:57:24 2006 for minix by  doxygen 1.4.6