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

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Thu Jul 20 2006 - 02:53:09 PDT
  

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 Jul 20 02:54:53 2006

This archive was generated by hypermail 2.1.8 : Thu Jul 20 2006 - 02:55:16 PDT