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-9238ED1F-C26B-4AEF-8934-0FC69BC5B174
Visible to Intel only — GUID: GUID-9238ED1F-C26B-4AEF-8934-0FC69BC5B174
RADIX
Inquiry Intrinsic Function (Generic): Returns the base of the model representing numbers of the same type and kind as the argument.
result = RADIX (x)
x |
(Input) Must be of type integer or real; it can be scalar or array valued. |
Results
The result is a scalar of type default integer. For an integer argument, the result has the value r (as defined in Model for Integer Data). For a real argument, the result has the value b (as defined in Model for Real Data).
Example
If X is a REAL(4) value, RADIX (X) has the value 2.