mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-03-08 11:29:19 +01:00
format
This commit is contained in:
@ -60,7 +60,7 @@ export function HammingEncodeProperly(data: number): string {
|
||||
|
||||
let m = 1;
|
||||
|
||||
while (((2**((2**m) - m - 1)) - 1) < data) {
|
||||
while (2 ** (2 ** m - m - 1) - 1 < data) {
|
||||
m++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user