fp.new
Constructs a new fixed point instance.
Args
mag
(MAG
) - The magnitude of the fixed point.sign
(bool
) - The sign of the fixed point, wheretrue
represents a negative number.
Returns
A new fixed point instance.
Examples
Last updated