ack/mach/proto/fp/FP_bias.h

29 lines
868 B
C
Raw Normal View History

1988-04-07 11:40:46 +00:00
/*
(c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.
See the copyright notice in the ACK home directory, in the file "Copyright".
*/
1994-06-24 14:02:31 +00:00
/* $Id$ */
1988-04-07 11:40:46 +00:00
1988-04-07 10:57:49 +00:00
/*
include file for floating point package
*/
/* FLOAT FORMAT EXPONENT BIAS */
#define SGL_BIAS 127 /* excess 128 notation used */
#define DBL_BIAS 1023 /* excess 1024 notation used */
#define EXT_BIAS 0 /* 2s-complement notation used */
/* this is possible because the */
/* sign is in a seperate word */
/* VARIOUS MAX AND MIN VALUES */
/* 1) FOR THE DIFFERENT FORMATS */
1989-07-25 14:21:09 +00:00
#define SGL_MAX 254 /* standard definition */
1988-08-10 22:33:48 +00:00
#define SGL_MIN 1 /* standard definition */
1989-07-25 14:21:09 +00:00
#define DBL_MAX 2046 /* standard definition */
1988-08-10 22:33:48 +00:00
#define DBL_MIN 1 /* standard definition */
1989-07-25 14:21:09 +00:00
#define EXT_MAX 16383 /* standard minimum */
#define EXT_MIN -16382 /* standard minimum */