9.3.21 BIT_SIZE (I)

Description:  Returns the number of bits in an integer type.  
Class:  Inquiry function; Generic 
Arguments:  I must be of type default 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 Section D.3.  


BIT_SIZE (1_2) has the value 16 because the KIND=2 integer type contains 16 bits.

Previous Page Next Page Table of Contents