Binary.TwoComplement.ToBinary
Back to table
/*
Binary-Number
Binary.TwoComplement.ToBinary
[binary result]=Binary.TwoComplement.ToBinary(int bitLength, int number);
Get the TwoComplement binary expression of a number.
*/
//-------------------------------------------------------------------
// examples
[v]=Binary.TwoComplement.List(4,-2,3);
[v]=Binary.TwoComplement.ToBinary(4,5);
[v]=Binary.TwoComplement.FromBinary(4'b0101);
[v]=Binary.TwoComplement.MaxValue(4);
[v]=Binary.TwoComplement.MinValue(4);
//-------------------------------------------------------------------
// result
Analysis IsBlankFunction IsInverse IsSymmetricFunction BDD MinValue OneComplement TwoComplement ToROBDD ToSOP DigitalSystem Email One PermutationMatrix real() To2LayerAndOr Sequential Assign Implementation ShannonTree Fast Full SimpleCover SimpleInner CreateFromLogicFunctions CreateDummyLogicFunction IndependentBase Normalization XORP Zero