Summary
Expand Uint type operations in Zig to match TypeScript's 51+ functions per size.
Missing Operations (TS has, Zig lacks exposure)
Arithmetic
plus, minus, times, dividedBy, modulo, toPower
Bitwise
bitwiseAnd, bitwiseOr, bitwiseXor, bitwiseNot
shiftLeft, shiftRight
Analysis
bitLength, leadingZeros, popCount, isPowerOf2
Aggregates
sum, product, min, max, gcd, lcm
Utilities
Current State
Zig has generic Uint type but doesn't expose all operations in public API.
Applies To
Uint8, Uint16, Uint32, Uint64, Uint128, Uint256
Note: Issue created by Claude AI assistant, not @roninjin10 or @fucory
Summary
Expand Uint type operations in Zig to match TypeScript's 51+ functions per size.
Missing Operations (TS has, Zig lacks exposure)
Arithmetic
plus,minus,times,dividedBy,modulo,toPowerBitwise
bitwiseAnd,bitwiseOr,bitwiseXor,bitwiseNotshiftLeft,shiftRightAnalysis
bitLength,leadingZeros,popCount,isPowerOf2Aggregates
sum,product,min,max,gcd,lcmUtilities
clone,isZero,isValidCurrent State
Zig has generic Uint type but doesn't expose all operations in public API.
Applies To
Uint8, Uint16, Uint32, Uint64, Uint128, Uint256
Note: Issue created by Claude AI assistant, not @roninjin10 or @fucory