PowerAda 59

From OC Systems Wiki!
Jump to: navigation, search

(59) The representation used by the Read and Write attributes of elementary types in terms of stream elements.

See 13.13.2(9).

In general, Read and Write attributes use the smallest number of stream elements (bytes) needed to contain the object, which may be effected by representation attributes.

Object Type No. of stream elements
Character One
Boolean One
Other Enumeration Four or less
Signed Integer Four or less
Modular Integer Four or less
Floating Point Eight or less
Ordinary Fixed Point Four or less
Decimal Fixed Point Four or less
Access-to-Object Four
Access-to_Subprogram Four