Rev | Line | |
---|
[9] | 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 | */
|
---|
| 5 |
|
---|
| 6 | /* $Header: /cvsup/minix/src/lib/ack/float/FP_bias.h,v 1.1 2005/10/10 15:27:42 beng Exp $ */
|
---|
| 7 |
|
---|
| 8 | /*
|
---|
| 9 | include file for floating point package
|
---|
| 10 | */
|
---|
| 11 |
|
---|
| 12 | /* FLOAT FORMAT EXPONENT BIAS */
|
---|
| 13 |
|
---|
| 14 | #define SGL_BIAS 127 /* excess 128 notation used */
|
---|
| 15 | #define DBL_BIAS 1023 /* excess 1024 notation used */
|
---|
| 16 | #define EXT_BIAS 0 /* 2s-complement notation used */
|
---|
| 17 | /* this is possible because the */
|
---|
| 18 | /* sign is in a seperate word */
|
---|
| 19 |
|
---|
| 20 | /* VARIOUS MAX AND MIN VALUES */
|
---|
| 21 | /* 1) FOR THE DIFFERENT FORMATS */
|
---|
| 22 |
|
---|
| 23 | #define SGL_MAX 254 /* standard definition */
|
---|
| 24 | #define SGL_MIN 1 /* standard definition */
|
---|
| 25 | #define DBL_MAX 2046 /* standard definition */
|
---|
| 26 | #define DBL_MIN 1 /* standard definition */
|
---|
| 27 | #define EXT_MAX 16383 /* standard minimum */
|
---|
| 28 | #define EXT_MIN -16382 /* standard minimum */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.