mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add a new union member to access the exponent and sign of a long double
in a single op. Idea from bde.
This commit is contained in:
parent
e4be3198af
commit
b3b2ea5930
1 changed files with 5 additions and 0 deletions
|
|
@ -35,6 +35,11 @@ union IEEEl2bits {
|
|||
unsigned long manh :48;
|
||||
unsigned long manl :64;
|
||||
} bits;
|
||||
struct {
|
||||
unsigned int expsign :16;
|
||||
unsigned long manh :48;
|
||||
unsigned long manl :64;
|
||||
} xbits;
|
||||
};
|
||||
|
||||
#define mask_nbit_l(u) ((void)0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue