The Fortran standard does not specify how variables of
LOGICAL type are represented, beyond requiring that
LOGICAL variables of default kind have the same storage size as default
REAL variables. The GNU Fortran internal representation is as follows.
LOGICAL(KIND=N) variable is represented as an
INTEGER(KIND=N) variable, however, with only two permissible values:
.FALSE.. Any other integer value results in undefined behavior.
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.