BigInteger: Negate

Negate

Returns the opposite signed value of this BigInteger instance.



 Public Function Negate ( ) As BigInteger

Return Values

BigInteger -  Returns a BigInteger instance containing the opposite signed value.

Remarks

Negative values are represented as a twos-complement number, unlike other systems used to represent a negative value. Any negation requires the twos-complement algorithm to be applied to the number. This keeps in step with how users of VB already deal with negative numbers, helping to ease the transition to using BigInteger values.

See Also

Project CorLib Overview

Class BigInteger Overview