Skip to content

Commit d391970

Browse files
authored
Some typs and obvious changes
1 parent beca325 commit d391970

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/specs/stdlib_bitsets.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ summarized below:
182182
|`clear`|subroutine|sets a sequence of one or more bits to 0|
183183
|`flip`|subroutine|flips the value of a sequence of one or more bits|
184184
|`from_string`|subroutine|reads the bitset from a string treating it as a binary literal|
185-
|`init`|subroutine|creates a new bitset of size `bits`with no bits set|
185+
|`init`|subroutine|creates a new bitset of size `bits` with no bits set|
186186
|`input`|subroutine|reads a bitset from an unformatted I/O unit|
187187
|`none`|function|`.true.` if no bits are 1, `.false.` otherwise|
188188
|`not`|subroutine|performs a logical `not` operation on all the bits|
@@ -201,7 +201,7 @@ The procedures with two arguments of type `bitset_large` or
201201
prevents them from being methods. The bitwise "logical" procedures,
202202
`and`, `and_not`, `or`, and `xor` also require that the two bitset
203203
arguments have the same number of bits, otherwise the results are
204-
undefined, These procedures are summarized in the following table:
204+
undefined. These procedures are summarized in the following table:
205205

206206
|Procedure name|Class|Summary|
207207
|--------------|-----|-------|
@@ -368,7 +368,7 @@ corresponding negation of the bits in `set2`.
368368

369369
`set2`: shall be a scalar expression of the same type as `set1`. It is
370370
an `intent(in)` argument. Note that it should also have the same
371-
number of bits as `set1` otherwise the result is undefined.
371+
number of bits as `set1`, otherwise the result is undefined.
372372

373373
#### Example
374374

@@ -876,7 +876,7 @@ access positioned at the start of a BITSET value written by a
876876

877877
`status` (optional): shall be a scalar default integer variable. If
878878
present its value shall be of one of the error codes defined in this
879-
module. IF absent and it would have had a value other than `success`
879+
module. If absent and it would have had a value other than `success`
880880
processing will stop with an informative stop code. Allowed error code
881881
values for this `status` are:
882882

@@ -1030,7 +1030,7 @@ Experimental
10301030

10311031
Replaces the original bits of `set1` with the bitwise `or` of those
10321032
bits with the bits of `set2`. Note `set1` and `set2` must have the
1033-
samee number of bits, otherwise the result is undefined.
1033+
same number of bits, otherwise the result is undefined.
10341034

10351035
#### Syntax
10361036

0 commit comments

Comments
 (0)