1 unstable release

0.1.0 Mar 16, 2024

#1794 in Rust patterns

MIT/Apache

50KB
1K SLoC

anxious

static analysis unit tests codecov

Integer Operations

Operation I8 INom8 IBit8 INomBit8
+, -, *
/, %
==
<, >
&, |, ^, !
<<, >>, >>>
Display
Debug

I8 can return Panic value IntegerOverflow on arithmetic operations +, -, *
I8 can return Panic value IntegerOverflow or IntegerDivizionByZero on arithmetic operations /, %
IBit8 and INomBit8 perform wrapped arithmetic on +, -, *
IBit8 can return Panic value IntegerDivizionByZero on arithmetic operations /, %
Equality and Comparison are defined on the nominal types
Display is defined on all nominal types
Debug is defined on all types

No runtime deps

Features