Number of significand bits in long double?

Steve Kargl sgk at troutmask.apl.washington.edu
Fri Aug 5 16:02:22 GMT 2005


On Fri, Aug 05, 2005 at 05:15:33PM +0400, Denis Antrushin wrote:
> Steve Kargl wrote:
> >Can someone confirm or refute that the working number
> >of bits in the significand of long double type is 53
> >on i386?
> >
> 
> Yes, this is what IEEE 754 requires.
> (See http://docs.sun.com/source/806-3568/ncg_goldberg.html,
> section 'The IEEE Standard')
> 

BZZZT.

You're not even close to correct.  See Table 1 in the IEEE
754 standard and then read section 3.4.

-- 
Steve


More information about the freebsd-hackers mailing list