-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from markplagge/Dumpi-Tomacs-Lua53
Dumpi tomacs lua53
- Loading branch information
Showing
135 changed files
with
1,292,900 additions
and
240,036 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ROSS
updated
from cb2377 to c88bb4
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#test values: | ||
tests = [1,2,3,4,5,6,7,8,9,10] | ||
testadds= [1,2,3,4,5,6,7,8,9,0] | ||
|
||
arr_setup = 'uint32_t *' | ||
arr_val = ' = {' | ||
outArrs = [] | ||
for t,a in zip(tests, testadds): | ||
tb = bin(t)[2:] | ||
ab = bin(a)[2:] | ||
txto = arr_setup + "a" + arr_val | ||
txtb = arr_setup + "b" + arr_val | ||
for ac,bc in zip(tb,ab): | ||
txto = f"{txto}{ac}," | ||
txtb = f"{txtb}{bc}," | ||
|
||
txto = txto + "};" | ||
txtb = txtb + "};" | ||
|
||
outArrs.append(txto) | ||
outArrs.append(txtb) | ||
|
||
for i in outArrs: | ||
print(i) |
Oops, something went wrong.