Binary.TwoComplement.MaxValue
Back to table
/*
Binary-Number
Binary.TwoComplement.MaxValue
[int result]=Binary.TwoComplement.MaxValue(int bitLength);
Get the max number of a bitLength TwoComplement binary system.
*/
//-------------------------------------------------------------------
// 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
            
                
                
                
                
                
                
                
                
                
                
                
                
                
                
             
            
            
            
            
            
PermuteLogicFunction IsSymmetricFunction BDD ToBinary GrayCode StringToBinaryNumber binary ToAndXor ToNotFunction Load long Nor MantissaToPositiveInteger PositiveIntegerToMantissa RadixFromIndex object() One OrAnd real To2LayerNand Save ShortestInputsForTransition TransitionSeries Assign StateVariables To2layerOrAnd MultiCover var Xor Zero