MAXEXPONENT(3f)

DESCRIPTION
MAXEXPONENT(X) returns the maximum exponent in the model of the type of X.

STANDARD
Fortran 95 and later

CLASS
Inquiry function

SYNTAX
RESULT = MAXEXPONENT(X)

ARGUMENTS

X Shall be of type REAL.

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

EXAMPLE
          program exponents
            real(kind=4) :: x
            real(kind=8) :: y

            print *, minexponent(x), maxexponent(x)
            print *, minexponent(y), maxexponent(y)
          end program exponents

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