Binary.TwoComplement.List
Back to table
/*
Binary-Number
Binary.TwoComplement.List
[binary() result]=Binary.TwoComplement.List(int bitLength, int numberFrom, int numberTo);
Get the TwoComplement-expression from numberFrom to numberTo with the bitLength.
*/
//-------------------------------------------------------------------
// 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
Advanced PermuteLogicFunction IsEqual IsOneFunction IsPositiveUnateFunctionTo IsSymmetricFunctionTo binary() Binary MaxValue BCDEx3 BinaryNumberToString ToROBDD ToSOP FeedbackDiagram Imply Load minterm LeastSignificantDigit real() To2LayerNor Backwardly OutputAndStateBasedly FullTable MultiCover CreateFromLogicFunctions GetNegativeLogicFunction GetPositiveLogicFunction Substitute var Zero