zeekay e6468fe6da Add generic safe math operations
Provides overflow/underflow protected Add, Sub, Mul operations
with generic constraints for all unsigned integer types.
2025-12-19 08:45:58 -08:00
2025-12-04 08:38:47 -08:00
2025-08-18 13:18:19 -05:00
2025-12-13 10:42:20 +00:00
2025-12-13 10:42:20 +00: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.9 MiB
Languages
Go 100%