radix(3f) - [FORTRAN:INTRINSIC:NUMERIC MODEL] Base of a model number
result = radix(x)
radix(x) returns the base of the model representing the entity X.
X Shall be of type INTEGER or REAL
The return value is a scalar of type INTEGER and of the default integer kind.
Sample program:
program demo_radix implicit none print *, "The radix for the default integer kind is", radix(0) print *, "The radix for the default real kind is", radix(0.0) end program demo_radix
[[Fortran 95]] and later
[[Inquiry function]]
scale(3), selected_real_kind(3)
radix (3) | March 11, 2021 |