Visible to Intel only — GUID: GUID-FBF4E6D5-05DC-4A7C-8121-2EAA8940B33B
Visible to Intel only — GUID: GUID-FBF4E6D5-05DC-4A7C-8121-2EAA8940B33B
BIT_SIZE
Inquiry Intrinsic Function (Generic): Returns the number of bits in an integer type.
result = BIT_SIZE (i)
i |
(Input) Must be of type integer or of type logical (which is treated as an integer). |
Results
The result is a scalar integer with the same kind parameter as i. The result value is the number of bits (s) defined by the bit model for integers with the kind parameter of the argument. For information on the bit model, see Model for Bit Data.
Example
BIT_SIZE (1_2) has the value 16 because the KIND=2 integer type contains 16 bits.