Binary.OneComplement.ToBinary
Back to table
/*
Binary-Number
Binary.OneComplement.ToBinary
[binary result]=Binary.OneComplement.ToBinary(int bitLength, int number);
Get the OneComplement binary expression of a number.
*/
//-------------------------------------------------------------------
// examples
[v]=Binary.OneComplement.List(4,-2,3);
[v]=Binary.OneComplement.ToBinary(4,5);
[v]=Binary.OneComplement.FromBinary(4'b0101);
[v]=Binary.OneComplement.MaxValue(4);
[v]=Binary.OneComplement.MinValue(4);
//-------------------------------------------------------------------
// result
Advanced MatchLogicFunction Analysis IsEqual IsLinearFunction IsSymmetricFunction IsUnateFunction binaryioset() binaryioset ToDualFunction ToSOP ExcitationTable Get LogicScript logicvardef() MostSignificantDigit RadixFromIndex Print To2LayerNor To2LayerAndOr ToFullAnd AutoAssignInputAndStateVariables CreateCompactTable Simplification Canonical SimpleInner Normalization ShannonExpansion var Zero