Perfect numbers: Difference between revisions
Content added Content deleted
(→Version 2: Now uses Wren-math module.) |
m (→{{header|Phix}}: added dist.n file info) |
||
Line 2,201: | Line 2,201: | ||
=== gmp version === |
=== gmp version === |
||
{{libheader|Phix/mpfr}} |
{{libheader|Phix/mpfr}} |
||
<lang Phix>-- demo\rosetta\Perfect_numbers.exw (includes native version above) |
|||
include mpfr.e |
|||
mpz n = mpz_init(), p = mpz_init() |
mpz n = mpz_init(), p = mpz_init() |
||
randstate state = gmp_randinit_mt() |
randstate state = gmp_randinit_mt() |