gmp_libmpz_fits_uint_p Method |
Namespace: Math.Gmp.Native
public static int mpz_fits_uint_p( mpz_t op )
Public Shared Function mpz_fits_uint_p ( op As mpz_t ) As Integer
public: static int mpz_fits_uint_p( mpz_t^ op )
static member mpz_fits_uint_p : op : mpz_t -> int
// Create, initialize, and set the value of op 4294967295. mpz_t op = new mpz_t(); gmp_lib.mpz_init_set_ui(op, uint.MaxValue); // Assert that op does not fit in uint. Assert.IsTrue(gmp_lib.mpz_fits_uint_p(op) > 0); // Release unmanaged memory allocated for op. gmp_lib.mpz_clear(op);
' Create, initialize, and set the value of op 4294967295. Dim op As New mpz_t() gmp_lib.mpz_init_set_ui(op, UInteger.MaxValue) ' Assert that op does not fit in uint. Assert.IsTrue(gmp_lib.mpz_fits_uint_p(op) > 0) ' Release unmanaged memory allocated for op. gmp_lib.mpz_clear(op)
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.