mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 07:02:26 +01:00
format
This commit is contained in:
parent
063da8aa60
commit
b27e7d00fe
@ -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++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user