Skip to content

Commit 2194d83

Browse files
author
Cameron McInally
committed
Hightlight some keywords and spell out -fdefault-[real|integer]-<kind>.
1 parent 9f3b030 commit 2194d83

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

flang/docs/IntrinsicTypes.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ local:
1414
---
1515
```
1616

17-
Intrinsic types are integer, real, complex, character, and logical.
18-
All intrinsic types have a kind type parameter called KIND,
17+
Intrinsic types are `INTEGER`, `REAL`, `COMPLEX`, `CHARACTER`, and `LOGICAL`.
18+
All intrinsic types have a kind type parameter called `KIND`,
1919
which determines the representation method for the specified type.
20-
The intrinsic type character also has a length type parameter called LEN,
20+
The intrinsic type character also has a length type parameter called `LEN`,
2121
which determines the length of the character string.
2222

23-
The implementation of `CHARACTER` type in f18 is described
23+
The implementation of the `CHARACTER` type in f18 is described
2424
in [Character.md](Character.md).
2525

2626
## Supported TYPES and KINDS
@@ -65,16 +65,17 @@ f18 defaults to the following kinds for these types:
6565
* `DOUBLE PRECISION` 8
6666
* `LOGICAL` 4
6767

68-
Modules compiled with different default-real and default-integer kinds
69-
may be freely mixed. Module files encode the kind value for every entity.
68+
Modules compiled with different `-fdefault-real-<kind>` and
69+
`-f-default-integer-<kind>` may be freely mixed. Module files encode the kind
70+
value for every entity.
7071

71-
#### Modifying the default kind with default-real-8.
72+
#### Modifying the default kind with -fdefault-real-8:
7273

7374
* `REAL` 8
7475
* `DOUBLE PRECISION` 8
7576
* `COMPLEX` 8
7677

77-
#### Modifying the default kind with default-integer-8:
78+
#### Modifying the default kind with -fdefault-integer-8:
7879

7980
* `INTEGER` 8
8081
* `LOGICAL` 8

0 commit comments

Comments
 (0)