BIT_SIZE(3f)

DESCRIPTION
BIT_SIZE(I) returns the number of bits (integer precision plus sign bit) represented by the type of I. The result of BIT_SIZE(I) is independent of the actual value of I.

STANDARD
Fortran 95 and later

CLASS
Inquiry function

SYNTAX
RESULT = BIT_SIZE(I)

ARGUMENTS

I The type shall be INTEGER.

RETURN VALUE
The return value is of type INTEGER

EXAMPLE
          program test_bit_size
              integer :: i = 123
              integer :: size
              size = bit_size(i)
              print *, size
          end program test_bit_size

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).