Number of significand bits in long double?

M. Warner Losh imp at
Fri Aug 5 17:34:07 GMT 2005

In message: <20050804150405.GA95916 at>
            Steve Kargl <sgk at> writes:
: Can someone confirm or refute that the working number
: of bits in the significand of long double type is 53
: on i386?

The number of bits is 53.  However, you can get more bits by adding a
fpsetprec(FP_PE) at the start of the programs.  Otherwise, you get
FP_PD by default.  Once you do that, things seem to basically work,
but I've not run paranoia.c to make sure.


More information about the freebsd-hackers mailing list