µSer
|
Attribute: Store a signed integer in Signed-Magnitude format. More...
#include <uSer.hh>
Attribute: Store a signed integer in Signed-Magnitude format.
When applied to a -Bit-Integer, let denote its raw bits with being the most significant and the least significant one. Then is the sign bit. The value of the integer is:
The range for a signed -Bit-Integer in Signed-Magnitude format is . There are 2 representations for zero.