Initialize from any real compatible type.
Fetches the stored value either as a float, double or real.
Self assignment
Assigns from any real compatible type.
Convert the CustomFloat to a real and perform the relevant operator on the result
Convert the CustomFloat to a real and perform the relevant operator on the result
the number of bits in mantissa
maximum int value such that 2<sup>max_exp-1</sup> is representable
minimum int value such that 2<sup>min_exp-1</sup> is representable as a normalized value
Fetches the stored value either as a float, double or real.
Convert the CustomFloat to a real and perform the relevant operator on the result
Allows user code to define custom floating-point formats. These formats are for storage only; all operations on them are performed by first implicitly extracting them to real first. After the operation is completed the result can be stored in a custom floating-point value via assignment.