[Cfp-interest] Fwd: (SC22WG14.12853) data-interchange and scalar types

Jim Thomas jaswthomas at sbcglobal.net
Wed Mar 27 17:30:35 PDT 2013



Begin forwarded message:

> From: Jim Thomas <jaswthomas at sbcglobal.net>
> Subject: Re: (SC22WG14.12853) data-interchange and scalar types
> Date: March 27, 2013 5:29:16 PM PDT
> To: "Joseph S. Myers" <jsm at polyomino.org.uk>
> Cc: SC22 WG14 <sc22wg14 at open-std.org>
> 
> 
> On Mar 27, 2013, at 4:51 PM, "Joseph S. Myers" <jsm at polyomino.org.uk> wrote:
> 
>> On Mon, 11 Mar 2013, Jim Thomas wrote:
>> 
>>> After further consideration, I think we do want data-interchange types 
>>> to be scalar types. This fits with the general meaning of scalar as 
>>> non-composite, and it requires fewer changes to the C standard (and 
>>> avoids changes in the memory and atomics clauses).
>>> 
>>> So we'd have "Arithmetic types, data-interchange types, and pointer 
>>> types are collectively called scalar types." And in a few places, for 
>>> example in 6.5.13 Constraints, we'd need to change "scalar" to 
>>> "arithmetic or pointer" to exclude data-interchange.
>> 
>> "arithmetic or pointer" makes sense to me.  But in N1691 (clause 10) you 
>> have "floating or pointer", which doesn't make sense to me at all; it 
>> would appear to exclude integer types.
> 
> Right. The six instances of "floating or pointer" in N1691 should all be "arithmetic or pointer". Thanks.
> 
> -Jim Thomas
> 
>> 
>> -- 
>> Joseph S. Myers
>> joseph at codesourcery.com
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.oakapple.net/pipermail/cfp-interest/attachments/20130327/43c25627/attachment.html 


More information about the Cfp-interest mailing list