gmp_libmpn_zero_p Method |
Namespace: Math.Gmp.Native
public static int mpn_zero_p( mp_ptr sp, mp_size_t n )
Public Shared Function mpn_zero_p ( sp As mp_ptr, n As mp_size_t ) As Integer
public: static int mpn_zero_p( mp_ptr^ sp, mp_size_t n )
static member mpn_zero_p : sp : mp_ptr * n : mp_size_t -> int
// Create multi-precision operand. mp_ptr sp = new mp_ptr(new uint[] { 0x00000000, 0x00000000 }); // Assert sp == 0. Assert.IsTrue(gmp_lib.mpn_zero_p(sp, sp.Size) == 1); // Release unmanaged memory. gmp_lib.free(sp);
' Create multi-precision operand. Dim sp As New mp_ptr(New UInteger() { &H0, &H0}) ' Assert sp == 0. Assert.IsTrue(gmp_lib.mpn_zero_p(sp, sp.Size) = 1) ' Release unmanaged memory. gmp_lib.free(sp)
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.