Skip to content

Commit 84d7d33

Browse files
authored
Apply suggestions from code review
1 parent d391970 commit 84d7d33

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

doc/specs/stdlib_bitsets.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ clears the bits with positions from `start_pos` to `end_pos` in `self`.
560560
* if `start_pos` and `end_pos` are present with `end_pos < start_pos`
561561
`self` is unmodified.
562562

563-
Note: Positions outside the range 0 to `BITS(SET) -1` are ignored.
563+
Note: Positions outside the range 0 to `bits(set) -1` are ignored.
564564

565565
#### Syntax
566566

@@ -1355,7 +1355,7 @@ The result is a default logical scalar.
13551355

13561356
#### Result value
13571357

1358-
The result is `.true.` if the bit at `pos`, in `self` is set,
1358+
The result is `.true.` if the bit at `pos` in `self` is set,
13591359
otherwise it is `.false.`. If `pos` is outside the range
13601360
`0... bits(self)-1` the result is `.false.`.
13611361

@@ -1387,7 +1387,7 @@ Represents the value of `self` as a binary literal in `string`.
13871387

13881388
#### Syntax
13891389

1390-
`call self % [[bitset_type(class):to_string(bound)]](string[, status])
1390+
`call self % [[bitset_type(class):to_string(bound)]](string[, status])`
13911391

13921392
#### Class
13931393

@@ -1436,7 +1436,7 @@ the stop code. The values have the following meanings:
14361436

14371437
#### Status
14381438

1439-
Experimeental
1439+
Experimental
14401440

14411441
#### Description
14421442

@@ -1795,7 +1795,7 @@ The result is a default logical scalar.
17951795

17961796
The result is `.true.` if the bits in `set1` and `set2` are the same
17971797
or the highest order different bit is set to 1 in `set1` and to 0 in
1798-
`set2`, `.false.`. otherwise.
1798+
`set2`, `.false.` otherwise.
17991799

18001800
#### Example
18011801

@@ -1829,7 +1829,7 @@ Experimental
18291829

18301830
Returns `.true.` if the bits in `set1` and `set2` differ and the
18311831
highest order different bit is set to 1 in `set1` and to 0 in `set2`,
1832-
`.false.`. otherwise. The sets must be the same size otherwise the
1832+
`.false.` otherwise. The sets must be the same size otherwise the
18331833
results are undefined
18341834

18351835
#### Syntax
@@ -1890,7 +1890,7 @@ Experimental
18901890

18911891
Returns `.true.` if the bits in `set1` and `set2` are the same or the
18921892
highest order different bit is set to 0 in `set1` and to 1 in `set2`,
1893-
`.false.`. otherwise. The sets must be the same size otherwise the
1893+
`.false.` otherwise. The sets must be the same size otherwise the
18941894
results are undefined
18951895

18961896

@@ -1919,7 +1919,7 @@ The result is a default logical scalar.
19191919

19201920
The result is `.true.` if the bits in `set1` and `set2` are the same
19211921
or the highest order different bit is set to 0 in `set1` and to 1 in
1922-
`set2`, `.false.`. otherwise.
1922+
`set2`, `.false.` otherwise.
19231923

19241924
#### Example
19251925

@@ -1953,7 +1953,7 @@ Experimental
19531953

19541954
Returns `.true.` if the bits in `set1` and `set2` differ and the
19551955
highest order different bit is set to 0 in `set1` and to 1 in `set2`,
1956-
`.false.`. otherwise. The sets must be the same size otherwise the
1956+
`.false.` otherwise. The sets must be the same size otherwise the
19571957
results are undefined
19581958

19591959

0 commit comments

Comments
 (0)