Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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.