diff options
author | das <das@FreeBSD.org> | 2008-01-18 21:25:51 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2008-01-18 21:25:51 +0000 |
commit | 764b848f5d99ac0e820c624c88232a2c6378a17d (patch) | |
tree | 4aafc45b756710fb1dba28da1024a0b05077bf2c /lib | |
parent | dd27822e35aeb942efa8c765f478a6837f97c1d5 (diff) | |
download | FreeBSD-src-764b848f5d99ac0e820c624c88232a2c6378a17d.zip FreeBSD-src-764b848f5d99ac0e820c624c88232a2c6378a17d.tar.gz |
Add a new union member to access the exponent and sign of a long double
in a single op. Idea from bde.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sparc64/_fpmath.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/sparc64/_fpmath.h b/lib/libc/sparc64/_fpmath.h index e5f2238..f323815 100644 --- a/lib/libc/sparc64/_fpmath.h +++ b/lib/libc/sparc64/_fpmath.h @@ -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) |