variableScope

This commit is contained in:
gtsoul-tech
2024-04-29 13:13:07 +03:00
parent ec3272e61b
commit 9df8527e91
17 changed files with 45 additions and 55 deletions

View File

@@ -87,12 +87,11 @@ static int initLegalValidMasks(u64a validMasks[]) {
*/
static int initLegalNegMasks(u64a negMasks[]) {
u64a data = 0;
u64a offset;
int num = 0;
while (data != ONES64) {
negMasks[num] = data;
num++;
offset = (data | (data +1)) ^ data;
u64a offset = (data | (data +1)) ^ data;
data += 0xfeULL * offset + 1;
}
negMasks[num] = data;