Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-8E22B797-451D-4020-BAF3-6679BE924241
Visible to Intel only — GUID: GUID-8E22B797-451D-4020-BAF3-6679BE924241
MAXEXPONENT
Inquiry Intrinsic Function (Generic): Returns the maximum exponent in the model representing the same type and kind parameters as the argument.
result = MAXEXPONENT (x)
x |
(Input) Must be of type real; it can be scalar or array valued. |
Results
The result is a scalar of type default integer. The result has the value emax, as defined in Model for Real Data.
Example
REAL(4) x INTEGER i i = MAXEXPONENT(x) ! returns 128.