gmp-d ~master (2020-09-28T09:15:13Z)
Dub
Repo
gcd
gmp
z
Get greatest common divisor (gcd) of
x
and
y
.
_MpZ
!
copyable
gcd
(_MpZ!copyable x, _MpZ!copyable y)
_MpZ
!
copyable
gcd
(_MpZ!copyable x, ulong y)
pure nothrow @
trusted
@
nogc
_MpZ
!
copyable
gcd
(
bool
copyable
)
(
auto
ref
const
_MpZ
!
copyable
x
,
ulong
y
)
Meta
Source
See Implementation
gmp
z
aliases
CZ
CopyableMpZ
MpZ
Z
__mp_limb_t
mp_bitcnt_t
mpz_ptr
mpz_srcptr
enums
WordEndianess
WordOrder
isLazyMpZExpr
isMpZExpr
functions
__gmpz_abs
__gmpz_add
__gmpz_add_ui
__gmpz_addmul
__gmpz_addmul_ui
__gmpz_and
__gmpz_cdiv_q_ui
__gmpz_cdiv_qr_ui
__gmpz_cdiv_r_ui
__gmpz_cdiv_ui
__gmpz_clear
__gmpz_clrbit
__gmpz_cmp
__gmpz_cmp_d
__gmpz_cmp_si
__gmpz_cmp_ui
__gmpz_cmpabs
__gmpz_cmpabs_d
__gmpz_cmpabs_ui
__gmpz_com
__gmpz_combit
__gmpz_export
__gmpz_fdiv_q_ui
__gmpz_fdiv_qr_ui
__gmpz_fdiv_r_ui
__gmpz_fdiv_ui
__gmpz_fits_sint_p
__gmpz_fits_slong_p
__gmpz_fits_sshort_p
__gmpz_fits_uint_p
__gmpz_fits_ulong_p
__gmpz_fits_ushort_p
__gmpz_gcd
__gmpz_gcd_ui
__gmpz_get_d
__gmpz_get_si
__gmpz_get_str
__gmpz_get_ui
__gmpz_import
__gmpz_init
__gmpz_init_set
__gmpz_init_set_d
__gmpz_init_set_si
__gmpz_init_set_str
__gmpz_init_set_ui
__gmpz_invert
__gmpz_ior
__gmpz_lcm
__gmpz_lcm_ui
__gmpz_mod
__gmpz_mul
__gmpz_mul_2exp
__gmpz_mul_si
__gmpz_mul_ui
__gmpz_neg
__gmpz_nextprime
__gmpz_perfect_power_p
__gmpz_popcount
__gmpz_pow_ui
__gmpz_powm
__gmpz_powm_ui
__gmpz_root
__gmpz_rootrem
__gmpz_set
__gmpz_set_d
__gmpz_set_si
__gmpz_set_str
__gmpz_set_ui
__gmpz_setbit
__gmpz_sizeinbase
__gmpz_sqrt
__gmpz_sqrtrem
__gmpz_sub
__gmpz_sub_ui
__gmpz_swap
__gmpz_tdiv_q
__gmpz_tdiv_q_ui
__gmpz_tdiv_qr_ui
__gmpz_tdiv_r
__gmpz_tdiv_r_ui
__gmpz_tdiv_ui
__gmpz_tstbit
__gmpz_ui_pow_ui
__gmpz_ui_sub
__gmpz_xor
abs
absUnsign
add
cmpabs
gcd
invert
lcm
mpz
mul
nextPrime
onesComplement
powm
sub
swap
toDecimalString
toHex
structs
__mpz_struct
Get greatest common divisor (gcd) of x and y.