Skip to content

Commit adfdf76

Browse files
committed
Fixed the additive algorithm to actually decrement the value.
1 parent 0d48731 commit adfdf76

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

css3-lists/Overview.src.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,6 +1220,10 @@ <h4>
12201220
<li>Append the <i>current tuple</i>'s <i>counter glyph</i> to <var>S</var>
12211221
<code>floor( <var>value</var> / <var><i>current tuple</i>'s weight</var> )</code>
12221222
times (this may be 0).</li>
1223+
1224+
<li>Decrement <var>value</var> by the <var><i>current tuple</i>'s weight multiplied
1225+
by the number of times the <i>current tuple</i> was appended to <var>S</var>
1226+
in the previous step.</li>
12231227
</ol>
12241228

12251229
<p>If the loop ended because <var>value</var> is 0, return S. Otherwise, the

0 commit comments

Comments
 (0)