integer library

integer library allows you to use custom bitwidth integers via getters and datatypes

Classes

integer
Baseclass for custom bit-width integers
ix
Signed Integer with custom bit-width
ux
Unsigned Integer with custom bitwidth

Extensions

ClampToSignedInteger on int
This extension will clamp the integer value to the appropriate bit-width
ClampToUnsignedInteger on int
This extension will clamp the integer value to the appropriate bit-width, without negative values.