Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Aug 2005 11:33:35 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        sgk@troutmask.apl.washington.edu
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Number of significand bits in long double?
Message-ID:  <20050805.113335.27815012.imp@bsdimp.com>
In-Reply-To: <20050804150405.GA95916@troutmask.apl.washington.edu>
References:  <20050804150405.GA95916@troutmask.apl.washington.edu>

index | next in thread | previous in thread | raw e-mail

In message: <20050804150405.GA95916@troutmask.apl.washington.edu>
            Steve Kargl <sgk@troutmask.apl.washington.edu> 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.

Warner



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050805.113335.27815012.imp>