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
            
                
                
                
                
                
                
                
                
                
                
                
                
                
                
             
            
            
            
            
            
MatchLogicFunction IsPositiveUnateFunctionTo IsSelfAntiDualFunction IsSymmetricFunctionTo IsUnateFunctionTo And BDD Binary List PureBinary bool() ToNotFunction ToROBDD ToVariableInvertedFunction Eq MostSignificantDigit PositiveIntegerToMantissa One To2LayerNor SOP To2LayerNand SAT Sequential Backwardly ToDigitalSystem ROBDD StateTransition AdjustLogicVariableCount Xor Zero