top of page
On this page
RealInt16
Flag4j provides two reference implementations of the Ring interface through the RealInt16 and RealInt32 classes. This page will cover the 16-bit variant.
The RealInt16 class is immutable and represents a 16-bit integer variable that supports the operations defined on rings. It is essentially a thin wrapper around Java's primitive short type.
Initialization
Arithmetic
RealInt16 objects support all the basic arithmetic operations of a general ring.
For a full list of supported operations see the Javadoc API reference.
bottom of page