comp.lang.c
[Top] [All Lists]

Re: What's the deal with C99?

Subject: Re: What's the deal with C99?
From: santosh
Date: Fri, 28 Mar 2008 07:04:11 +0530
Newsgroups: comp.lang.c

lawrence.jones@xxxxxxxxxxx wrote:

> santosh <santosh.k83@xxxxxxxxx> wrote:
>> 
>> Obviously they are saying that 128 bit long doubles are not yet
>> supported. That doesn't mean that a smaller long double isn't.
>> Currently they seem to be using 96 bit long doubles.
> 
> Their long double only has 96 value bits but its size is 16 (8 bit)
> bytes, so it's 128 bits in size.

Hmm. On my installation here sizeof(long double) gives me 12.

> And there's no requirement in C99 to 
> support 128 bit long doubles, so even if they did want to support long
> double with 128 value bits sometime in the future, it wouldn't be a
> conformance issue now.  I can only assume that their long double
> support is deficient in some way, but their conformance statement
> certainly doesn't provide any hints as to exactly what the
> deficiencies are.

Yes. And till now all my programs with long doubles have worked just
fine, as far as I can see, with their compiler, but I haven't used it
extensively.


<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy