Visible to Intel only — GUID: GUID-50219EB9-30B4-4CBD-9B34-21BE0F82DCA8
Visible to Intel only — GUID: GUID-50219EB9-30B4-4CBD-9B34-21BE0F82DCA8
integer-size
Specifies the default KIND for integer and logical variables.
Syntax
Linux: |
-integer-size size |
macOS: |
-integer-size size |
Windows: |
/integer-size:size |
Arguments
size |
Is the size for integer and logical variables. Possible values are: 16, 32, or 64. |
Default
integer-size 32 |
Integer and logical variables are 4 bytes long (INTEGER(KIND=4) and LOGICAL(KIND=4)). |
Description
This option specifies the default size (in bits) for integer and logical variables.
Option |
Description |
---|---|
integer-size 16 |
Makes default integer and logical declarations, constants, functions, and intrinsics 2 bytes long. INTEGER and LOGICAL declarations are treated as (KIND=2). Integer and logical constants of unspecified KIND are evaluated in INTEGER (KIND=2) and LOGICAL(KIND=2)respectively. |
integer-size 32 |
Makes default integer and logical declarations, constants, functions, and intrinsics 4 bytes long. INTEGER and LOGICAL declarations are treated as (KIND=4). Integer and logical constants of unspecified KIND are evaluated in INTEGER (KIND=4) and LOGICAL(KIND=4)respectively. |
integer-size 64 |
Makes default integer and logical declarations, constants, functions, and intrinsics 8 bytes long. INTEGER and LOGICAL declarations are treated as (KIND=8). Integer and logical constants of unspecified KIND are evaluated in INTEGER (KIND=8) and LOGICAL(KIND=8)respectively. |
IDE Equivalent
Visual Studio: Data > Default Integer KIND
Alternate Options
integer-size 16 |
Linux and macOS: -i2 Windows: /4I2 |
integer-size 32 |
Linux and macOS: -i4 Windows: /4I4 |
integer-size 64 |
Linux and macOS: -i8 Windows: /4I8 |