Expand description
Stack-allocated big unsigned integers.
ModulesΒ§
- add π
 Uintaddition operations.- add_mod π
 Uintaddition modulus operations.- array π
 generic-arrayintegration withUint.- bit_and π
 Uintbitwise and operations.- bit_not π
 Uintbitwise not operations.- bit_or π
 Uintbitwise or operations.- bit_xor π
 Uintbitwise xor operations.- bits π
 - cmp π
 Uintcomparisons.- concat π
 - div π
 Uintdivision operations.- div_
limb π - Implementation of constant-time division via reciprocal precomputation, as described in βImproved Division by Invariant Integersβ by Niels MΓΆller and Torbjorn Granlund (DOI: 10.1109/TC.2010.143, https://gmplib.org/~tege/division-paper.pdf).
 - encoding π
 - Const-friendly decoding operations for 
Uint - from π
 From-like conversions forUint.- inv_mod π
 - macros π
 - modular
 - Implements modular arithmetic for constant moduli.
 - mul π
 Uintaddition operations.- mul_mod π
 Uintmultiplication modulus operations.- neg π
 - neg_mod π
 Uintnegation modulus operations.- rand π
 - Random number generator support
 - resize π
 - shl π
 Uintbitwise left shift operations.- shr π
 Uintbitwise right shift operations.- split π
 - sqrt π
 Uintsquare root operations.- sub π
 Uintaddition operations.- sub_mod π
 Uintsubtraction modulus operations.
StructsΒ§
- Uint
 - Stack-allocated big unsigned integer.
 
Type AliasesΒ§
- U64
 - 64-bit unsigned big integer.
 - U128
 - 128-bit unsigned big integer.
 - U192
 - 192-bit unsigned big integer.
 - U256
 - 256-bit unsigned big integer.
 - U320
 - 320-bit unsigned big integer.
 - U384
 - 384-bit unsigned big integer.
 - U448
 - 448-bit unsigned big integer.
 - U512
 - 512-bit unsigned big integer.
 - U576
 - 576-bit unsigned big integer.
 - U640
 - 640-bit unsigned big integer.
 - U704
 - 704-bit unsigned big integer.
 - U768
 - 768-bit unsigned big integer.
 - U832
 - 832-bit unsigned big integer.
 - U896
 - 896-bit unsigned big integer.
 - U960
 - 960-bit unsigned big integer.
 - U1024
 - 1024-bit unsigned big integer.
 - U1280
 - 1280-bit unsigned big integer.
 - U1536
 - 1536-bit unsigned big integer.
 - U1792
 - 1792-bit unsigned big integer.
 - U2048
 - 2048-bit unsigned big integer.
 - U3072
 - 3072-bit unsigned big integer.
 - U3584
 - 3584-bit unsigned big integer.
 - U4096
 - 4096-bit unsigned big integer.
 - U4224
 - 4224-bit unsigned big integer.
 - U4352
 - 4352-bit unsigned big integer.
 - U6144
 - 6144-bit unsigned big integer.
 - U8192
 - 8192-bit unsigned big integer.
 - U16384
 - 16384-bit unsigned big integer.
 - U32768
 - 32768-bit unsigned big integer.