9.3.120 RADIX (X)

Description:  Returns the base of the model representing numbers of the same type and kind parameters as the argument. 
Class:  Inquiry function; Generic 
Arguments:  X 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 Section D.1). For a real argument, the result has the value b (as defined in Section D.2). 


If X is a REAL(4) value, RADIX (X) has the value 2.

Previous Page Next Page Table of Contents