gmp_lib.mpq_add Method

GMP Native Interface for .NET

gmp_libmpq_add Method
Set sum to addend1 + addend2.

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 void mpq_add(
	mpq_t sum,
	mpq_t addend1,
	mpq_t addend2
)
Public Shared Sub mpq_add ( 
	sum As mpq_t,
	addend1 As mpq_t,
	addend2 As mpq_t
)
public:
static void mpq_add(
	mpq_t^ sum, 
	mpq_t^ addend1, 
	mpq_t^ addend2
)
static member mpq_add : 
        sum : mpq_t * 
        addend1 : mpq_t * 
        addend2 : mpq_t -> unit 

Parameters

sum
Type: Math.Gmp.Nativempq_t
The result rational.
addend1
Type: Math.Gmp.Nativempq_t
The first operand rational.
addend2
Type: Math.Gmp.Nativempq_t
The second operand rational.
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