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

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Tue Sep 19 2006 - 00:39:58 PDT
  

I never received a response to this.

Any comments?

Thanks,

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 Tue Sep 19 00:43:58 2006

This archive was generated by hypermail 2.1.8 : Tue Sep 19 2006 - 00:45:06 PDT