GMP Native Interface for .NET
mp_size_t Structure |
Represents a count of limbs.
Namespace: Math.Gmp.Native
Assembly: Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The mp_size_t type exposes the following members.
Constructors
Methods
Name | Description | |
---|---|---|
Equals(Object) |
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).) | |
Equals(mp_size_t) |
Returns a value indicating whether this instance is equal to a specified mp_size_t value.
| |
GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString |
Gets the string representation of the mp_size_t.
(Overrides ValueTypeToString.) |
Operators
Name | Description | |
---|---|---|
Equality |
Gets a value that indicates whether the two argument values are equal.
| |
(Int64 to mp_size_t) |
Converts an Int64 value to a mp_size_t value.
| |
(UInt32 to mp_size_t) |
Converts a UInt32 value to an mp_size_t value.
| |
(UInt64 to mp_size_t) |
Converts a UInt64 value to an mp_size_t value.
| |
(mp_size_t to Byte) |
Converts an mp_size_t value to a Byte value.
| |
(mp_size_t to SByte) |
Converts an mp_size_t value to an SByte value.
| |
(mp_size_t to UInt16) |
Converts an mp_size_t value to a UInt16 value.
| |
(mp_size_t to Int16) |
Converts an mp_size_t value to an Int16 value.
| |
(mp_size_t to UInt32) |
Converts an mp_size_t value to a UInt32 value.
| |
(mp_size_t to UInt64) |
Converts an mp_size_t value to a UInt64 value.
| |
(Byte to mp_size_t) |
Converts a Byte value to an mp_size_t value.
| |
(Int16 to mp_size_t) |
Converts an Int16 value to an mp_size_t value.
| |
(Int32 to mp_size_t) |
Converts an Int32 value to an mp_size_t value.
| |
(SByte to mp_size_t) |
Converts a Byte value to an mp_size_t value.
| |
(UInt16 to mp_size_t) |
Converts a UInt16 value to an mp_size_t value.
| |
(mp_size_t to Int32) |
Converts an mp_size_t value to an Int32 value.
| |
(mp_size_t to Int64) |
Converts an mp_size_t value to an Int64 value.
| |
Inequality |
Gets a value that indicates whether the two argument values are different.
|
Fields
Remarks
Counts of limbs of a multi-precision number represented in the C type mp_size_t. Currently this is normally a long, but on some systems it’s an int for efficiency, and on some systems it will be long long in the future.
In .Net, this is a 32-bit integer.
See Also