Click or drag to resize
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
)

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
See Also