From: Chris Duncan Date: Sun, 15 Dec 2024 08:18:01 +0000 (-0800) Subject: Formatting. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=fefab20fcca4690e023090d5bdf64c70a2a9a0dc;p=libnemo.git Formatting. --- diff --git a/src/lib/workers/pow.ts b/src/lib/workers/pow.ts index a8752ae..4763f68 100644 --- a/src/lib/workers/pow.ts +++ b/src/lib/workers/pow.ts @@ -87,14 +87,18 @@ uint m[32]; // They are multiplied by 2 from the original SIGMA values in // the C reference implementation, which refered to uint64s. const int SIGMA82[192] = int[192]( - 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24, - 0,4,22,14,10,6,22,16,24,0,10,4,30,26,20,28,6,12,14,2,18,8,14,18,6,2,26, - 24,22,28,4,12,10,20,8,0,30,16,18,0,10,14,4,8,20,30,28,2,22,24,12,16,6, - 26,4,24,12,20,0,22,16,6,8,26,14,10,30,28,2,18,24,10,2,30,28,26,8,20,0, - 14,12,6,18,4,16,22,26,22,14,28,24,2,6,18,10,0,30,8,16,12,4,20,12,30,28, - 18,22,6,0,16,24,4,26,14,2,8,20,10,20,4,16,8,14,12,2,10,30,22,18,28,6,24, - 26,0,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12, - 2,24,0,4,22,14,10,6 + 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30, + 28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6, + 22,16,24,0,10,4,30,26,20,28,6,12,14,2,18,8, + 14,18,6,2,26,24,22,28,4,12,10,20,8,0,30,16, + 18,0,10,14,4,8,20,30,28,2,22,24,12,16,6,26, + 4,24,12,20,0,22,16,6,8,26,14,10,30,28,2,18, + 24,10,2,30,28,26,8,20,0,14,12,6,18,4,16,22, + 26,22,14,28,24,2,6,18,10,0,30,8,16,12,4,20, + 12,30,28,18,22,6,0,16,24,4,26,14,2,8,20,10, + 20,4,16,8,14,12,2,10,30,22,18,28,6,24,26,0, + 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30, + 28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6 ); // 64-bit unsigned addition within the compression buffer