02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MAX(A1, A2, A3, ...)<br />

Optional arguments<br />

A3, ...<br />

Description<br />

Maximum value.<br />

Class<br />

Elemental function.<br />

Arguments<br />

Intrinsic procedures<br />

Intrinsic procedure specifications<br />

The arguments must all have the same type which must be integer or real, and they must all<br />

have the same kind type parameter.<br />

Result type/<br />

type parameters<br />

Same as the arguments.<br />

Result value<br />

Thevalueoftheresultisthatofthelargestargument.<br />

Specific forms<br />

AIMAX0,AJMAX0, AKMAX0, AMAX0, AMAX1, DMAX1, IMAX0, IMAX1, JMAX0, JMAX1, KMAX0, KMAX1,<br />

MAX0, MAX1, QMAX1.<br />

MAXEXPONENT(X)<br />

Description<br />

Returns the maximum exponent in the model representing numbers of the same type and<br />

kind type parameter as the argument.<br />

Class<br />

Inquiry function.<br />

Chapter 11 553

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!