Data update

This commit is contained in:
Ingy döt Net 2026-02-01 16:33:20 -08:00
parent 5150844a7d
commit 4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions

View file

@ -3,14 +3,14 @@ setBits: function [inp, n][
print "n = " ++ (to :string n) ++ "; Width e = " ++ (to :string e) ++ ":"
result: new ø
if? or? zero? e n =< 0 -> result: inp
else [
switch or? zero? e n =< 0 -> result: inp
[
result: split inp
loop 0..e-1 'i [
if inp\[i] = `1` [
if inp\[i] = '1' [
j: i + 1
while [and? j =< i+n j < e][
result\[j]: `1`
result\[j]: '1'
j: j + 1
]
]