mp_size_t Structure

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
public struct mp_size_t
Public Structure mp_size_t
public value class mp_size_t
[<SealedAttribute>]
type mp_size_t =  struct end

The mp_size_t type exposes the following members.

Constructors
  NameDescription
Public methodmp_size_t
Creates a new mp_size_t, and sets its value.
Top
Methods
  NameDescription
Public methodEquals(Object)
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(mp_size_t)
Returns a value indicating whether this instance is equal to a specified mp_size_t value.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Gets the string representation of the mp_size_t.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Gets a value that indicates whether the two argument values are equal.
Public operatorStatic member(Int64 to mp_size_t)
Converts an Int64 value to a mp_size_t value.
Public operatorStatic member(UInt32 to mp_size_t)
Converts a UInt32 value to an mp_size_t value.
Public operatorStatic member(UInt64 to mp_size_t)
Converts a UInt64 value to an mp_size_t value.
Public operatorStatic member(mp_size_t to Byte)
Converts an mp_size_t value to a Byte value.
Public operatorStatic member(mp_size_t to SByte)
Converts an mp_size_t value to an SByte value.
Public operatorStatic member(mp_size_t to UInt16)
Converts an mp_size_t value to a UInt16 value.
Public operatorStatic member(mp_size_t to Int16)
Converts an mp_size_t value to an Int16 value.
Public operatorStatic member(mp_size_t to UInt32)
Converts an mp_size_t value to a UInt32 value.
Public operatorStatic member(mp_size_t to UInt64)
Converts an mp_size_t value to a UInt64 value.
Public operatorStatic member(Byte to mp_size_t)
Converts a Byte value to an mp_size_t value.
Public operatorStatic member(Int16 to mp_size_t)
Converts an Int16 value to an mp_size_t value.
Public operatorStatic member(Int32 to mp_size_t)
Converts an Int32 value to an mp_size_t value.
Public operatorStatic member(SByte to mp_size_t)
Converts a Byte value to an mp_size_t value.
Public operatorStatic member(UInt16 to mp_size_t)
Converts a UInt16 value to an mp_size_t value.
Public operatorStatic member(mp_size_t to Int32)
Converts an mp_size_t value to an Int32 value.
Public operatorStatic member(mp_size_t to Int64)
Converts an mp_size_t value to an Int64 value.
Public operatorStatic memberInequality
Gets a value that indicates whether the two argument values are different.
Top
Fields
  NameDescription
Public fieldValue
The mp_size_t value.
Top
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