gmp_lib.mpf_get_ui Method

GMP Native Interface for .NET

gmp_libmpf_get_ui Method
Convert op to an unsigned 32-bit integer, truncating any fraction part.

Namespace:  Math.Gmp.Native
Assembly:  Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static uint mpf_get_ui(
	mpf_t op
)
Public Shared Function mpf_get_ui ( 
	op As mpf_t
) As UInteger
public:
static unsigned int mpf_get_ui(
	mpf_t^ op
)
static member mpf_get_ui : 
        op : mpf_t -> uint32 

Parameters

op
Type: Math.Gmp.Nativempf_t
The operand float.

Return Value

Type: UInt32
The converted integer.
Remarks

If op is too big for the return type, the result is undefined.

See also mpf_fits_slong_p and mpf_fits_ulong_p (see GNU MP - Miscellaneous Float Functions).

Examples

No code example is currently available or this language may not be supported.

No code example is currently available or this language may not be supported.

See Also