Additional integer math functions Not included in Golang's Standard Library
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Build Status Coverage Status License

This library adds basic integer math functions for a variety of types.

Functions included:

  • Abs
  • Min
  • Max
  • Pow
  • MulOverflow

Each function includes versions for int, int8, int16, int32, int64, and when apporpriate uint, uint8, uint16, uint32, uint64.