HomeSort by: relevance | last modified time | path
    Searched refs:mpz (Results 1 - 24 of 24) sorted by relevancy

  /src/external/lgpl3/gmp/dist/
Makefile.am 115 SUBDIRS = tests mpn mpz mpq mpf printf scanf rand cxx demos tune doc
174 MPZ_OBJECTS = mpz/abs$U.lo mpz/add$U.lo mpz/add_ui$U.lo \
175 mpz/aorsmul$U.lo mpz/aorsmul_i$U.lo mpz/and$U.lo mpz/array_init$U.lo \
176 mpz/bin_ui$U.lo mpz/bin_uiui$U.lo
    [all...]
gmpxx.h 2731 /* Some operations (i.e., add and subtract) with mixed mpz/mpq arguments
2732 can be done directly without first converting the mpz to mpq.
2942 // variant that only works for one of { mpz, mpq, mpf }
3026 // variant that only works for one of { mpz, mpq, mpf }
3216 __GMP_DEFINE_COMPOUND_OPERATOR(mpz, fun, eval_fun)
3236 __GMP_DEFINE_COMPOUND_OPERATOR_UI(mpz, fun, eval_fun)
3262 __GMP_DEFINE_INCREMENT_OPERATOR(mpz, fun, eval_fun)
  /src/external/lgpl3/gmp/dist/demos/perl/
test.pl 56 use GMP::Mpz qw(:all);
61 use GMP::Mpz qw(:constants);
62 use GMP::Mpz qw(:noconstants);
131 # GMP::Mpz::new
133 ok (mpz(0) == 0);
134 ok (mpz('0') == 0);
135 ok (mpz(substr('101',1,1)) == 0);
136 ok (mpz(0.0) == 0);
137 ok (mpz(mpz(0)) == 0)
    [all...]
sample.pl 40 use GMP::Mpz qw(:all);
42 print "next prime after 10**30 is (probably) ", nextprime(mpz(10)**30), "\n";
GMP.pm 84 if (UNIVERSAL::isa($_[0],"GMP::Mpz")) {
86 die "GMP::sprintf: unsupported output format for mpz: $pat2\n";
142 use GMP::Mpz;
155 use GMP::Mpz qw(gcd, lcm); # just these functions
158 =head2 GMP::Mpz
160 This class provides arbitrary precision integers. A new mpz can be
161 constructed with C<mpz>. The initial value can be an integer, float,
162 string, mpz, mpq or mpf. Floats, mpq and mpf will be automatically
165 use GMP::Mpz qw(:all);
166 my $a = mpz(123)
    [all...]
GMP.xs 44 Mixed-type swapped-order assignments like "$a = 123; $a += mpz(456);"
57 handled with an mpz_set_si into a temporary and then a full precision mpz
66 The memory leak detection attempted in GMP::END() doesn't work when mpz's
152 static classconst char mpz_class[] = "GMP::Mpz";
168 (TRACE (printf (" active %ld mpz, %ld mpq, %ld mpf, %ld randstate\n", \
209 CREATE_MPX (mpz)
271 /* for GMP::Mpz::export */
296 #define free_mpz(z) FREE_MPX_FREELIST (z, mpz)
318 #define SvMPZ(s) SvMPX(s,mpz)
329 #define MPZ_ASSUME(z,sv) MPX_ASSUME(z,sv,mpz)
    [all...]
  /src/external/lgpl3/mpc/dist/tests/
tpl_gmp.c 24 tpl_read_mpz (mpc_datafile_context_t* datafile_context, mpz_t mpz)
27 printf ("Error: Unexpected EOF when reading mpz "
33 if (mpz_inp_str (mpz, datafile_context->fd, 0) == 0) {
34 printf ("Error: Impossible to read mpz "
tpow_z.c 47 P[0].mpc_inex = mpc_pow_z (P[1].mpc, P[2].mpc, P[3].mpz, P[4].mpc_rnd)
49 P[0].mpc_inex = mpc_pow_z (P[1].mpc, P[1].mpc, P[3].mpz, P[4].mpc_rnd)
check_data.c 42 return mpz_cmp (got->mpz, expected->mpz);
copy_parameter.c 77 mpz_set (params->P[index_dest].mpz, params->P[index_src].mpz);
tset.c 65 mpz_t mpz; local
72 mpz_init (mpz);
79 mpz_set_ui (mpz, 0x4217);
170 mpfr_set_z (fr, mpz, MPFR_RNDN);
171 mpc_set_z_z (z, mpz, mpz, MPC_RNDNN);
185 mpc_set_z (z, mpz, MPC_RNDNN);
311 mpz_clear (mpz);
clear_parameters.c 35 mpz_clear (p->mpz);
init_parameters.c 36 mpz_init (p->mpz);
print_parameter.c 77 gmp_printf ("= %Zd\n", params->P[index].mpz);
read_line.c 71 tpl_read_mpz (datafile_context, p->mpz);
mpc-tests.h 249 mpz_t mpz; member in union:__anon23590
  /src/external/lgpl3/mpfr/dist/tests/
tfprintf.c 175 mpz_t mpz; local
186 mpz_init (mpz);
187 mpz_set_ui (mpz, ulo);
210 check_vfprintf (fout, "a. %Pu, b. %c, c. %Zi%Zn", prec, ch, mpz, &mpz);
211 check_length_with_cmp (6, mpz, 17, mpz_cmp_ui (mpz, 17), Zi);
297 mpz_clear (mpz);
tprintf.c 302 mpz_t mpz; local
310 mpz_init (mpz);
311 mpz_set_ui (mpz, ulo);
330 check_vprintf ("a. %Pu, b. %c, c. %RUG, d. %Zi%Zn", prec, ch, mpfr, mpz, &mpz);
331 check_length_with_cmp (6, mpz, 24, mpz_cmp_ui (mpz, 24), Zi);
390 mpz_clear (mpz);
tsprintf.c 914 mpz_t mpz; local
924 mpz_init (mpz);
925 mpz_fib_ui (mpz, 64);
933 check_vsprintf ("10610209857723, -1.2345678875000000e+07", "%Zi, %R*e", mpz, rnd,
963 "%.*Zi, %R*e, %Lf", 20, mpz, rnd, x, d);
975 mpz_clear (mpz);
  /src/external/lgpl3/gmp/dist/tests/
Makefile.am 21 SUBDIRS = . devel mpn mpz mpq mpf rand misc cxx
  /src/external/lgpl3/gmp/dist/demos/perl/GMP/
Mpz.pm 1 # GMP mpz module.
32 package GMP::Mpz;
44 lcm lucnum lucnum2 mod mpz mpz_export
  /src/external/lgpl3/gmp/dist/tune/
Makefile.am 176 fac_ui.c: $(top_builddir)/mpz/fac_ui.c
180 echo "#include \"mpz/oddfac_1.c\"" >>fac_ui.c
181 echo "#include \"mpz/fac_ui.c\"" >>fac_ui.c
  /src/external/lgpl3/gmp/lib/libgmp/
Makefile 142 ${MPZ_SRCS:C/^/mpz /} \
254 ${DIST}/mpz
  /src/external/lgpl3/gmp/dist/doc/
configuration 44 For instance for mpz,
46 i) Add file.c to libmpz_la_SOURCES in mpz/Makefile.am.
48 ii) Add mpz/file$U.lo to MPZ_OBJECTS in the top-level Makefile.am
51 mpz/file$U.lo to libmp_la_DEPENDENCIES in the top-level
145 ii) Tests for mpn, mpz, mpq and mpf can be added under the

Completed in 72 milliseconds