Create a new fixed point number, wrapping on overflow or underflow
Create a new fixed point number, wrapping on overflow or underflow
Value's bits (with both integer and fractional components)
Defines whether this value is valid or not
The fixed point format used by this number
Creates a fixed point value from the given array of bits, wrapping the result upon overflow/underflow
Creates a fixed point value from the given array of bits, wrapping the result upon overflow/underflow
Big-endian (LSB at index 0, MSB at last index) bits
The fixed point format to be used by this number
Generate a pseudo-random fixed point number, uniformly distributed between [0, max)
Generate a pseudo-random fixed point number, uniformly distributed between [0, max)
The maximum value of the range, non-inclusive
The format for the max and the fixed point number being generated
Generate a pseudo-random fixed point number, uniformly distributed across the entire representation's range
Generate a pseudo-random fixed point number, uniformly distributed across the entire representation's range
The format for the fixed point number being generated
Create a new fixed point number, saturating on overflow or underflow at the format's max or min values, respectively
Create a new fixed point number, saturating on overflow or underflow at the format's max or min values, respectively
Value's bits (with both integer and fractional components)
Defines whether this value is valid or not
The fixed point format used by this number
Create a new fixed point number, rounding to the closest representable number using unbiased rounding
Create a new fixed point number, rounding to the closest representable number using unbiased rounding
Value's bits, with 4 extra fractional bits (beyond normal format representation)
Defines whether this value is valid or not
The fixed point format used by this number
When true, also use saturating arithmetic on underflow/overflow