]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Define LDBL_NBIT to be a mask indicating the position of the integer
authordas <das@FreeBSD.org>
Mon, 7 Mar 2005 04:55:22 +0000 (04:55 +0000)
committerdas <das@FreeBSD.org>
Mon, 7 Mar 2005 04:55:22 +0000 (04:55 +0000)
commit5bfaaf046488af0dd3a30704b1de957d8e998484
tree0587ae7e38dc49cbd8c4f33e5beaf44770486b0f
parente08a3e75cadf3db2f91c84aa1fb0e266b4334fc4
Define LDBL_NBIT to be a mask indicating the position of the integer
bit in a long double.  For architectures that don't have such a bit,
LDBL_NBIT is 0.  This makes it possible to say `mantissa & ~LDBL_NBIT'
in places that previously used an #ifdef to select the right expression.
The optimizer should dispense with the extra arithmetic when LDBL_NBIT
is 0.
lib/libc/alpha/_fpmath.h
lib/libc/amd64/_fpmath.h
lib/libc/arm/_fpmath.h
lib/libc/i386/_fpmath.h
lib/libc/powerpc/_fpmath.h
lib/libc/sparc64/_fpmath.h