Re: Number of significand bits in long double?

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Fri, 05 Aug 2005 11:26:20 -0600 (MDT)
In message: <20050805074916.GD2104_at_cirb503493.alcatel.com.au>
            Peter Jeremy <PeterJeremy_at_optushome.com.au> writes:
: >> See the LDBL_* macros in <float.h> for native precision.
: >
: >That's the problem.  The LDBL* macros misrepresent the
: >actual precision used.
: 
: I had a closer look.  In 4.x, LDBL_* just points to DBL_*.  imp_at_
: changed it to reflect the native hardware precision in v1.9.
: 
: IMHO, it would be nice to run the i386 in native precision but that
: opens up a can of worms (since expressions will wind up being
: evaluated in different precisions depending on whether the compiler
: needs to spill registers onto the stack and whether temporary
: variables are registers or stack).

Yes.  I tried to change the default mask to to do the right thing, but
bde and you (I think) convinced me to not commit that change.

Warner
Received on Fri Aug 05 2005 - 15:28:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC