Click or drag to resize
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
)

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
See Also