SCALE(3f)

DESCRIPTION
SCALE(X,I) returns X * RADIX(X)**I.

STANDARD
Fortran 95 and later

CLASS
Elemental function

SYNTAX
RESULT = SCALE(X, I)

ARGUMENTS

X The type of the argument shall be a REAL. I The type of the argument shall be a INTEGER.

RETURN VALUE
The return value is of the same type and kind as X. Its value is X * RADIX(X)**I.

EXAMPLE
          program test_scale
            real :: x = 178.1387e-4
            integer :: i = 5
            print *, scale(x,i), x*radix(x)**i
          end program test_scale

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).