[UP]


Manual Reference Pages  - maxexponent (3)

NAME

maxexponent(3f) - [FORTRAN:INTRINSIC] Maximum exponent of a real kind

CONTENTS

Syntax
Description
Arguments
Return Value
Example
Standard
Class

SYNTAX

result = maxexponent(x)

DESCRIPTION

maxexponent(x) returns the maximum exponent in the model of the type of X.

ARGUMENTS

X - Shall be of type REAL.

RETURN VALUE

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

EXAMPLE

Sample program:

    program demo_maxexponent
      real(kind=4) :: x
      real(kind=8) :: y

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

STANDARD

[[Fortran 95]] and later

CLASS

[[Inquiry function]]


maxexponent (3) March 18, 2019
Generated by manServer 1.08 from de52b5ef-dea9-4a2a-a018-3578fdebb832 using man macros.