This commit is contained in:
s2ks 2022-07-08 01:37:42 +02:00
parent 063da8aa60
commit b27e7d00fe
2 changed files with 3 additions and 3 deletions

@ -60,7 +60,7 @@ export function HammingEncodeProperly(data: number): string {
let m = 1; let m = 1;
while (((2**((2**m) - m - 1)) - 1) < data) { while (2 ** (2 ** m - m - 1) - 1 < data) {
m++; m++;
} }