| Line | |
|---|
| 1 | /* $Id: ieee.h,v 1.1 1999-10-09 13:32:26 sandervl Exp $ */
|
|---|
| 2 |
|
|---|
| 3 | #ifndef _IEEE_H
|
|---|
| 4 | #define _IEEE_H
|
|---|
| 5 |
|
|---|
| 6 | typedef struct {
|
|---|
| 7 | unsigned int mantissa:23;
|
|---|
| 8 | unsigned int exponent:8;
|
|---|
| 9 | unsigned int sign:1;
|
|---|
| 10 | } float_t;
|
|---|
| 11 |
|
|---|
| 12 | typedef struct {
|
|---|
| 13 | unsigned int mantissal:32;
|
|---|
| 14 | unsigned int mantissah:20;
|
|---|
| 15 | unsigned int exponent:11;
|
|---|
| 16 | unsigned int sign:1;
|
|---|
| 17 | } double_t;
|
|---|
| 18 |
|
|---|
| 19 | typedef struct {
|
|---|
| 20 | unsigned int mantissal:32;
|
|---|
| 21 | unsigned int mantissah:32;
|
|---|
| 22 | unsigned int exponent:15;
|
|---|
| 23 | unsigned int sign:1;
|
|---|
| 24 | unsigned int empty:16;
|
|---|
| 25 | } long_double_t;
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.