Skip to content

Commit bb8d07c

Browse files
committed
Simplify wording of function to convert an integer to a byte sequence
1 parent 8deea68 commit bb8d07c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -625,10 +625,10 @@ <h2>Terminology</h2>
625625
and then considering each consecutive sequence of 8 bits in that string as a byte.
626626
</p>
627627
<p>
628-
When this specification says to <dfn id="dfn-convert-integer-to-byte-sequence">convert a non-negative
628+
To <dfn id="dfn-convert-integer-to-byte-sequence">convert a non-negative
629629
integer |i| to a byte sequence of length |n|</dfn>, where |n| * 8
630-
is greater than the logarithm to base 2 of |i|, the user agent must
631-
first calculate the binary representation of |i|, most significant bit first,
630+
is greater than the logarithm to base 2 of |i|,
631+
calculate the binary representation of |i|, most significant bit first,
632632
prefix this with sufficient zero bits to form a bit sequence of length |n| * 8, and
633633
then return the [= byte sequence =] formed by considering each consecutive
634634
sequence of 8 bits in that bit sequence as a byte.

0 commit comments

Comments
 (0)