Number of significand bits in long double?

Denis Antrushin DAntrushin at mail.ru
Fri Aug 5 16:38:13 GMT 2005


Steve Kargl wrote:
> 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.
> 

Well, you know the answer then ;-)



More information about the freebsd-hackers mailing list