Skip to content

Commit

Permalink
Editorial: less than or equal to
Browse files Browse the repository at this point in the history
Instead of equal to or less than, which isn't canonical.
  • Loading branch information
annevk committed Jan 9, 2019
1 parent 9d75583 commit db0d45b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions encoding.bs
Original file line number Diff line number Diff line change
Expand Up @@ -770,10 +770,9 @@ the return value of these steps:
<li><p>If <var>pointer</var> is 7457, return code point U+E7C7.
<!-- 7457 is 0x81 0x35 0xF4 0x37 -->

<li><p>Let <var>offset</var> be the last pointer in
<a>index gb18030 ranges</a> that is equal to or less than
<var>pointer</var> and let <var>code point offset</var> be its
corresponding code point.
<li><p>Let <var>offset</var> be the last pointer in <a>index gb18030 ranges</a> that is less than
or equal to <var>pointer</var> and let <var>code point offset</var> be its corresponding code
point.

<li><p>Return a code point whose value is
<var>code point offset</var> + <var>pointer</var> &minus; <var>offset</var>.
Expand All @@ -785,10 +784,9 @@ the return value of these steps:
<ol>
<li><p>If <var>code point</var> is U+E7C7, return pointer 7457.

<li><p>Let <var>offset</var> be the last code point in
<a>index gb18030 ranges</a> that is equal to or less than
<var>code point</var> and let <var>pointer offset</var> be its
corresponding pointer.
<li><p>Let <var>offset</var> be the last code point in <a>index gb18030 ranges</a> that is less
than or equal to <var>code point</var> and let <var>pointer offset</var> be its corresponding
pointer.

<li><p>Return a pointer whose value is
<var>pointer offset</var> + <var>code point</var> &minus; <var>offset</var>.
Expand Down

0 comments on commit db0d45b

Please sign in to comment.