mp_limb_t Structure

GMP Native Interface for .NET

mp_limb_t Structure
Represents a part of a multiple precision number.

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

The mp_limb_t type exposes the following members.

Constructors
  NameDescription
Public methodmp_limb_t
Creates a new mp_limb_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_limb_t)
Returns a value indicating whether this instance is equal to a specified mp_limb_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_limb_t.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Gets a value that indicates whether the two argument values are equal.
Public operatorStatic member(Int16 to mp_limb_t)
Converts an Int16 value to an mp_limb_t value.
Public operatorStatic member(Int32 to mp_limb_t)
Converts an Int32 value to an mp_limb_t value.
Public operatorStatic member(Int64 to mp_limb_t)
Converts an Int64 value to an mp_limb_t value.
Public operatorStatic member(SByte to mp_limb_t)
Converts a SByte value to an mp_limb_t value.
Public operatorStatic member(mp_limb_t to Byte)
Converts a mp_limb_t value to a Byte value.
Public operatorStatic member(mp_limb_t to SByte)
Converts a mp_limb_t value to an SByte value.
Public operatorStatic member(mp_limb_t to UInt16)
Converts a mp_limb_t value to a UInt16 value.
Public operatorStatic member(mp_limb_t to Int16)
Converts a mp_limb_t value to an Int16 value.
Public operatorStatic member(mp_limb_t to UInt32)
Converts a mp_limb_t value to a UInt32 value.
Public operatorStatic member(mp_limb_t to Int32)
Converts a mp_limb_t value to an Int32 value.
Public operatorStatic member(mp_limb_t to Int64)
Converts a mp_limb_t value to an Int64 value.
Public operatorStatic member(Byte to mp_limb_t)
Converts a Byte value to an mp_limb_t value.
Public operatorStatic member(UInt16 to mp_limb_t)
Converts a UInt16 value to an mp_limb_t value.
Public operatorStatic member(UInt32 to mp_limb_t)
Converts a UInt32 value to an mp_limb_t value.
Public operatorStatic member(UInt64 to mp_limb_t)
Converts a UInt64 value to an mp_limb_t value.
Public operatorStatic member(mp_limb_t to UInt64)
Converts a mp_limb_t value to a UInt64 value.
Public operatorStatic memberInequality
Gets a value that indicates whether the two argument values are different.
Top
Fields
  NameDescription
Public fieldValue
The mp_limb_t value.
Top
Remarks

A limb means the part of a multi-precision number that fits in a single machine word. (We chose this word because a limb of the human body is analogous to a digit, only larger, and containing several digits.) Normally a limb is 32 or 64 bits.

See Also