RADIX(3f)

DESCRIPTION
RADIX(X) returns the base of the model representing the entity X.

STANDARD
Fortran 95 and later

CLASS
Inquiry function

SYNTAX
RESULT = RADIX(X)

ARGUMENTS

X Shall be of type INTEGER or REAL

RETURN VALUE
The return value is a scalar of type INTEGER and of the default integer kind.

SEE ALSO
SELECTED_REAL_KIND

EXAMPLE
          program test_radix
            print *, "The radix for the default integer kind is", radix(0)
            print *, "The radix for the default real kind is", radix(0.0)
          end program test_radix

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).