mpf_t._mp_exp Property

GMP Native Interface for .NET

mpf_t_mp_exp Property
The exponent, in limbs, determining the location of the implied radix point.

Namespace:  Math.Gmp.Native
Assembly:  Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public int _mp_exp { get; }
Public ReadOnly Property _mp_exp As Integer
	Get
public:
property int _mp_exp {
	int get ();
}
member _mp_exp : int with get

Property Value

Type: Int32
Remarks

Zero means the radix point is just above the most significant limb. Positive values mean a radix point offset towards the lower limbs and hence a value ≥ 1, as for example in the diagram above. Negative exponents mean a radix point further above the highest limb.

Naturally the exponent can be any value, it doesn’t have to fall within the limbs as the diagram shows, it can be a long way above or a long way below. Limbs other than those included in the {mp_base._mp_d, _mp_size} data are treated as zero.

See Also