mpf_t Class |
Namespace: Math.Gmp.Native
The mpf_t type exposes the following members.
Name | Description | |
---|---|---|
_mp_d |
A pointer to an array of limbs which is the magnitude.
(Inherited from mp_base.) | |
_mp_d_intptr |
Gets or sets the pointer to the significand array of limbs of the floating-point number.
(Overrides mp_base_mp_d_intptr.) | |
_mp_exp |
The exponent, in limbs, determining the location of the implied radix point.
| |
_mp_prec |
The precision of the mantissa, in limbs.
| |
_mp_size |
The number of limbs currently in use, or the negative of that when representing a negative value.
(Overrides mp_base_mp_size.) |
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToIntPtr |
Gets the unmanaged memory pointer of the multiple precision floating-point number.
| |
ToString |
Return the string representation of the float.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
(String to mpf_t) |
Converts a string value to an mpf_t value.
|
The floating point functions accept and return exponents in the C type mp_exp_t. Currently this is usually a long, but on some systems it’s an int for efficiency.
In .NET, this is a 32-bit integer.