Added union for signed long memory destructuring
This commit is contained in:
parent
72a6ce2282
commit
2cdd908a9e
1 changed files with 7 additions and 0 deletions
|
@ -18,6 +18,13 @@ typedef union {
|
||||||
Int signed_int;
|
Int signed_int;
|
||||||
} SignedInt;
|
} SignedInt;
|
||||||
|
|
||||||
|
typedef union {
|
||||||
|
struct {
|
||||||
|
Long value : 63;
|
||||||
|
Int signal : 1;
|
||||||
|
} long_with_msb;
|
||||||
|
} SignedLong;
|
||||||
|
|
||||||
//IEEE floating point alias
|
//IEEE floating point alias
|
||||||
typedef float Float;
|
typedef float Float;
|
||||||
typedef double Double;
|
typedef double Double;
|
||||||
|
|
Loading…
Reference in a new issue