[UP]


Manual Reference Pages  - radix (3)

NAME

radix(3f) - [FORTRAN:INTRINSIC:NUMERIC MODEL] Base of a model number

SYNTAX

result = radix(x)

DESCRIPTION

radix(x) returns the base of the model representing the entity X.

ARGUMENTS

X Shall be of type INTEGER or REAL

RETURN VALUE

The return value is a scalar of type INTEGER and of the default integer kind.

EXAMPLE

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

STANDARD

[[Fortran 95]] and later

CLASS

[[Inquiry function]]

SEE ALSO

scale(3), selected_real_kind(3)


radix (3) March 11, 2021
Generated by manServer 1.08 from 78c0fb3c-5329-4b4c-a682-17d30692f98e using man macros.