Node: Short Intrinsic, Next: Sign Intrinsic, Previous: Shape Intrinsic, Up: Table of Intrinsic Functions

Short(A)

Short: `INTEGER(KIND=6)`

function.

`A`: `INTEGER`

; scalar; INTENT(IN).

Intrinsic groups: `unix`

.

Description:

Returns `A` with the fractional portion of its
magnitude truncated and its sign preserved, converted
to type `INTEGER(KIND=6)`

.

If `A` is type `COMPLEX`

, its real part
is truncated and converted, and its imaginary part is disgregarded.

See Int Intrinsic.

The precise meaning of this intrinsic might change in a future version of the GNU Fortran language, as more is learned about how it is used.