The BigInteger type exposes the following members.
Back to Top
Properties
| Name | Description | |
|---|---|---|
| BitLength |
Gets number of bits used by the number.
| |
| IsEven |
Indicates whether the value of the current System.Numerics.BigInteger object is an even number.
| |
| IsOne |
Indicates whether the value of the current System.Numerics.BigInteger object is System.Numerics.BigInteger.One.
| |
| IsPowerOfTwo |
Indicates whether the value of the current System.Numerics.BigInteger object is a power of two.
| |
| IsZero |
Indicates whether the value of the current System.Numerics.BigInteger object is System.Numerics.BigInteger.Zero.
| |
| MinusOne |
Gets a value that represents the number negative one (-1).
| |
| One |
Gets a value that represents the number one (1).
| |
| Sign |
Gets a number that indicates the sign (negative, positive, or zero) of the current System.Numerics.BigInteger object.
| |
| Zero |
Gets a value that represents the number 0 (zero).
|
See Also