OSF DCE Application Development Guide--Core Components
OSF DCE Application Development Guide—Core Components
17.13.2 Floating-Point Types
IDL provides two sizes of floating-point data types, specified as follows:
float
double
A float is represented in 32 bits. A double is represented in 64 bits.
17.13.3 The char Type
The IDL character type is specified as follows:
[unsigned] char
A char is unsigned and is represented in 8 bits.
The keyword unsigned is optional and has no effect. IDL does not support a signed
character type. IDL provides the small data type for representing signed 8-bit integers.
17.13.4 The boolean Type
The IDL boolean type is specified as follows:
boolean
A boolean is represented in 8 bits. A boolean is a logical quantity that assumes one of
two values: TRUE or FALSE. Zero is FALSE and any nonzero value is TRUE.
17.13.5 The byte Type
The IDL byte type is specified as follows:
byte
A byte is represented in 8 bits. The data representation format of byte data is guaranteed
not to change when the data is transmitted by the RPC mechanism.
The IDL integer, character, and floating-point types (and hence any types constructed
from these) are all subject to format conversion when they are transmitted between hosts
that use different data representation formats. You can protect data of any type from
17 − 22 Tandem Computers Incorporated 124245