mirror of
https://github.com/luxfi/math.git
synced 2026-07-27 03:38:49 +00:00
45e2df82ae1eac214227f9c2495ac8d1bac124f4
- big.go: BigPow, ParseBig256, U256, U256Bytes, PaddedBigBytes, etc. - integer.go: HexOrDecimal64, ParseUint64, SafeAdd/Sub/Mul Consolidating math utilities into luxfi/math to eliminate geth/common/math dependency.
Lux Math Library
A comprehensive mathematical utilities library for the Lux ecosystem.
Features
- Math utilities: Safe math operations, averagers, and meters
- Set operations: Efficient set implementations including bit sets
- Numerical computing: Integration with gonum for advanced mathematical operations
Installation
go get github.com/luxfi/math
Usage
import (
"github.com/luxfi/math/math"
"github.com/luxfi/math/set"
)
License
See the LICENSE file for licensing terms.
Languages
Go
100%