RADIX(X)

Purpose

Returns the base of the model representing numbers of the same type and kind type parameter as the argument.

Class

Inquiry function

Argument type and attributes

X
An INTENT(IN) INTEGER or REAL. The actual argument corresponding to X can be scalar or array valued.

Result type and attributes

Default integer scalar.

Result value

The result is the base of the model representing numbers of the same kind and type as X. The result is always 2. See the models under Data representation models.