[UP]


Manual Reference Pages  - max (3)

NAME

max(3f) - [FORTRAN:INTRINSIC:NUMERIC] Maximum value of an argument list

CONTENTS

Syntax
Description
Arguments
Return Value
Standard
Class
See Also

SYNTAX

result = max(a1, a2 [, a3 [, ...]])

DESCRIPTION

Returns the argument with the largest (most positive) value.

ARGUMENTS

A1 - The type shall be INTEGER or REAL. A2, A3, ... - An expression of the same type and kind as A1.

RETURN VALUE

The return value corresponds to the maximum value among the arguments, and has the same type and kind as the first argument.

STANDARD

[[FORTRAN 77]] and later

CLASS

[[Elemental procedure|Elemental function]]

SEE ALSO

[[maxloc]] [[maxval]], [[min]]


max (3) March 18, 2019
Generated by manServer 1.08 from bddf4dbf-f0f9-4376-b53f-52938f86e86b using man macros.