GMP Native Interface for .NET
| gmp_libmpz_lcm_ui Method |
Set rop to the least common multiple of op1 and op2.
Namespace: Math.Gmp.Native
Assembly: Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void mpz_lcm_ui( mpz_t rop, mpz_t op1, uint op2 )
Public Shared Sub mpz_lcm_ui ( rop As mpz_t, op1 As mpz_t, op2 As UInteger )
public: static void mpz_lcm_ui( mpz_t^ rop, mpz_t^ op1, unsigned int op2 )
static member mpz_lcm_ui : rop : mpz_t * op1 : mpz_t * op2 : uint32 -> unit
Parameters
- rop
- Type: Math.Gmp.Nativempz_t
The result integer. - op1
- Type: Math.Gmp.Nativempz_t
The first operand integer. - op2
- Type: SystemUInt32
The second operand integer.
Remarksrop is always positive, irrespective of the signs of op1 and op2. rop will be zero if either op1 or op2 is zero.
Examples
See Also