The RADIX function returns the number base of the physical representation of a number.
Syntax
RADIX (x)
x is INTENT(IN) and must be of type INTEGER or REAL.
The result is a default INTEGER scalar whose value is the number base of the physical representation of x. This value is two for all kinds of INTEGERs and REALs.
Example
write(*,*) radix(2.3) ! writes 2