[UP]


Manual Reference Pages  - logical (3)

NAME

logical(3f) - [FORTRAN:INTRINSIC:BIT MANIPULATION] Converts one kind of LOGICAL variable to another

SYNTAX

result = logical(l [, kind])

DESCRIPTION

Converts one kind of LOGICAL variable to another.

ARGUMENTS

L The type shall be LOGICAL.
KIND (Optional) An INTEGER initialization expression indicating the kind parameter of the result.

RETURN VALUE

The return value is a LOGICAL value equal to L, with a kind corresponding to KIND, or of the default logical kind if KIND is not given.

STANDARD

[[Fortran 95]] and later

CLASS

[[Elemental procedure|Elemental function]]

SEE ALSO

int(3), real(3), cmplx(3)


logical (3) March 11, 2021
Generated by manServer 1.08 from b3fdbd4f-4b78-4b0d-9bbf-5e1e2dc0fea9 using man macros.