]> zoso.dev Git - libnemo.git/commitdiff
Formatting.
authorChris Duncan <chris@zoso.dev>
Sun, 15 Dec 2024 08:18:01 +0000 (00:18 -0800)
committerChris Duncan <chris@zoso.dev>
Sun, 15 Dec 2024 08:18:01 +0000 (00:18 -0800)
src/lib/workers/pow.ts

index a8752aed73f7b97b0d494557831c35490e3badc5..4763f68cb6db78c0f093c4dac0f88d0f29a1f925 100644 (file)
@@ -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