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
Analysis IsMonotonicFunction IsSelfDualFunction FromBinary List NineComplement bool() DiagramGateName Eq FeedbackSystem Get logicvardef() long Nand PositiveDecimalToMantissa PositiveIntegerToMantissa object Or Print Realization To2LayerNor Assign StateVariables StateTransitionBasedly Implementation string Substitute var() Xor Zero
The website is simply translated by using the Google Translate. Please inform us if you find the wrong/funny/weird translation.