mirror of
https://github.com/luxfi/math.git
synced 2026-07-27 03:38:49 +00:00
517b4938211eba4d2b23450a684174a9e09827ca
- Add math/bit: XOR, AND, compress operations (from bitutil) - Add math/units: Lux denomination constants (NanoLux, MicroLux, etc.) - Remove safemath/: was just re-exporting geth/common/math - Use github.com/luxfi/geth/common/math directly for safe math ops
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%