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