インテル® Fortran コンパイラー 19.0 デベロッパー・ガイドおよびリファレンス

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.

See Also