RE: [sv-bc] 1800 22.13: %u and %z format specifiers

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Thu Aug 24 2006 - 05:55:43 PDT
  

I never got any response to this.

Shalom

 

________________________________

From: owner-sv-bc@server.eda-stds.org
[mailto:owner-sv-bc@server.eda-stds.org] On Behalf Of Bresticker, Shalom
Sent: Thursday, July 20, 2006 12:53 PM
To: sv-bc@server.eda.org
Subject: [sv-bc] 1800 22.13: %u and %z format specifiers

 

The section in 22.13 about %u and %z was introduced in 
http://www.eda-stds.org/sv-bc/hm/0576.html .

%u and %z format specifiers: 

          For packed data, %u and %z are defined to operate as though 
          the operation were applied to the equivalent vector. 

          For unpacked struct data, %u and %z are defined to apply as 
          though the operation were performed on each member in
declaration 
          order. 

          For unpacked union data, %u and %z are defined to apply as 
          though the operation were performed on the first member in 
          declaration order. 

          %u and %z are not defined on unpacked arrays. 

          The "count" of data items read by a %u or %z for an aggregate 
          type is always either 1 or 0; the individual members are 
          not counted separately. 

I have a couple of questions.

Was this intended to apply to input only or also to output?

Why not unpacked arrays?

 

Thanks,

Shalom

Shalom Bresticker

Intel Jerusalem LAD DA

+972 2 589-6852

+972 54 721-1033

I don't represent Intel 

 



image001.gif
Received on Thu Aug 24 05:56:04 2006

This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 05:56:16 PDT