gmp_lib.mpq_inv Method

GMP Native Interface for .NET

gmp_libmpq_inv Method
Set inverted_number to 1 / number.

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_inv(
	mpq_t inverted_number,
	mpq_t number
)
Public Shared Sub mpq_inv ( 
	inverted_number As mpq_t,
	number As mpq_t
)
public:
static void mpq_inv(
	mpq_t^ inverted_number, 
	mpq_t^ number
)
static member mpq_inv : 
        inverted_number : mpq_t * 
        number : mpq_t -> unit 

Parameters

inverted_number
Type: Math.Gmp.Nativempq_t
The result rational.
number
Type: Math.Gmp.Nativempq_t
The operand rational.
Remarks

If the new denominator is zero, this routine will divide by zero.

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