radix(3f) - [FORTRAN:INTRINSIC] Base of a model number
Syntax
Description
Arguments
Return Value
Example
Standard
Class
See Also
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 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]], [[selected_real_kind]]
radix (3) | March 19, 2019 |