Rev | Line | |
---|
[11] | 1 | $Id: README,v 1.1 1997/03/01 18:54:43 fabio Exp $ |
---|
| 2 | |
---|
| 3 | This directory contains a simple floating point multiplier, |
---|
| 4 | not exactly IEEE 754-compliant, but largely inspired to the standard. |
---|
| 5 | |
---|
| 6 | The significand uses the hidden bit and is between 1 (included) and 2 |
---|
| 7 | (excluded). |
---|
| 8 | The exponent uses the excess (2**(n-1) - 1) representation. For single |
---|
| 9 | precision, this is excess 127. |
---|
| 10 | The smallest exponent (0) is used for the represenation of 0. Denormals |
---|
| 11 | are not supported. |
---|
| 12 | The largest exponent is used for infinities and NaNs. Infinities use |
---|
| 13 | the smallest possible significand (all zeroes). Everything else is deemed |
---|
| 14 | a NaN. No distinction is made between signalling and non-signalling NaNs. |
---|
| 15 | When the multiplier generates a NaN, it uses the all-one significand. |
---|
| 16 | One multiplication takes three clock cycles and it is not pipelined. |
---|
| 17 | |
---|
| 18 | The CTL formulae check for several properties of the result and |
---|
| 19 | demonstrate the use of vector variables and macros. |
---|
| 20 | |
---|
| 21 | Author: Fabio Somenzi <Fabio@Colorado.EDU> |
---|
Note: See
TracBrowser
for help on using the repository browser.