Zach Kelling 45e2df82ae Add big.Int and integer utilities from geth/common/math
- 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.
2026-01-03 17:36:34 -08:00
2025-12-31 22:21:37 -08:00
2025-12-31 22:21:37 -08:00
2025-08-18 13:18:19 -05:00
2025-12-19 08:45:58 -08:00

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.

S
Description
Mathematical utilities library for the Lux ecosystem
Readme BSD-3-Clause
1.8 MiB
Languages
Go 100%