Searched refs:mpz (Results 1 - 20 of 20) sorted by relevance

/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpbsd/
H A DMakefile.am21 # -I$(top_srcdir)/mpz is for #includes done by mpz .c files. Perhaps most
26 -I$(top_srcdir) -I$(top_srcdir)/mpz
28 # The mpz sources here all know to look for -DBERKELEY_MP to compile to in
32 ../mpz/add.c ../mpz/cmp.c ../mpz/gcd.c ../mpz/mul.c ../mpz/powm.c \
33 ../mpz/reallo
[all...]
H A DMakefile.in254 # -I$(top_srcdir)/mpz is for #includes done by mpz .c files. Perhaps most
259 -I$(top_srcdir) -I$(top_srcdir)/mpz
262 # The mpz sources here all know to look for -DBERKELEY_MP to compile to in
266 ../mpz/add.c ../mpz/cmp.c ../mpz/gcd.c ../mpz/mul.c ../mpz/powm.c \
267 ../mpz/reallo
[all...]
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/demos/perl/
H A Dtest.pl122 ok (mpz(0) == 0);
123 ok (mpz('0') == 0);
124 ok (mpz(substr('101',1,1)) == 0);
125 ok (mpz(0.0) == 0);
126 ok (mpz(mpz(0)) == 0);
127 ok (mpz(mpq(0)) == 0);
128 ok (mpz(mpf(0)) == 0);
131 ok (mpz($t) == 0);
135 ok (mpz(
[all...]
H A Dsample.pl31 print "next prime after 10**30 is (probably) ", nextprime(mpz(10)**30), "\n";
H A DGMP.pm75 die "GMP::sprintf: unsupported output format for mpz: $pat2\n";
149 This class provides arbitrary precision integers. A new mpz can be
150 constructed with C<mpz>. The initial value can be an integer, float,
151 string, mpz, mpq or mpf. Floats, mpq and mpf will be automatically
155 my $a = mpz(123);
156 my $b = mpz("0xFFFF");
157 my $c = mpz(1.5); # truncated
174 corresponding GMP mpz functions,
218 is modified, if other variables are referencing the same mpz object then a
219 new copy is made of it. If the variable isn't an mpz i
[all...]
H A DGMP.xs33 Mixed-type swapped-order assignments like "$a = 123; $a += mpz(456);"
46 handled with an mpz_set_si into a temporary and then a full precision mpz
55 The memory leak detection attempted in GMP::END() doesn't work when mpz's
157 (TRACE (printf (" active %ld mpz, %ld mpq, %ld mpf, %ld randstate\n", \
198 CREATE_MPX (mpz)
285 #define free_mpz(z) FREE_MPX_FREELIST (z, mpz)
307 #define SvMPZ(s) SvMPX(s,mpz)
318 #define MPZ_ASSUME(z,sv) MPX_ASSUME(z,sv,mpz)
407 my_mpx_set_svstr(mpz)
470 the data. Applications should convert once to mpz, mp
[all...]
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/
H A DMakefile.am96 SUBDIRS = tests mpn mpz mpq mpf printf scanf cxx mpbsd demos tune doc
147 MPZ_OBJECTS = mpz/abs$U.lo mpz/add$U.lo mpz/add_ui$U.lo \
148 mpz/aorsmul$U.lo mpz/aorsmul_i$U.lo mpz/and$U.lo mpz/array_init$U.lo \
149 mpz/bin_ui$U.lo mpz/bin_uiu
[all...]
H A DMakefile.in119 $(MPN_OBJECTS) mpz/add$U.lo mpz/gcdext$U.lo mpz/invert$U.lo \
120 mpz/mul$U.lo mpz/n_pow_ui$U.lo mpz/realloc$U.lo mpz/set$U.lo \
121 mpz/sub$U.lo mpz/tdiv_q$U.lo
438 SUBDIRS = tests mpn mpz mp
[all...]
H A Dgmpxx.h2660 /* Some operations (i.e., add and subtract) with mixed mpz/mpq arguments
2661 can be done directly without first converting the mpz to mpq.
3072 __GMP_DEFINE_COMPOUND_OPERATOR(mpz, fun, eval_fun)
3092 __GMP_DEFINE_COMPOUND_OPERATOR_UI(mpz, fun, eval_fun)
3118 __GMP_DEFINE_INCREMENT_OPERATOR(mpz, fun, eval_fun)
/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/dist/tests/
H A Dtfprintf.c160 mpz_t mpz; local
171 mpz_init (mpz);
172 mpz_set_ui (mpz, ulo);
195 check_vfprintf (fout, "a. %Pu, b. %c, c. %Zi%Zn", prec, ch, mpz, &mpz);
196 check_length_with_cmp (6, mpz, 17, mpz_cmp_ui (mpz, 17), Zi);
271 mpz_clear (mpz);
H A Dtprintf.c247 mpz_t mpz; local
255 mpz_init (mpz);
256 mpz_set_ui (mpz, ulo);
275 check_vprintf ("a. %Pu, b. %c, c. %RUG, d. %Zi%Zn", prec, ch, mpfr, mpz, &mpz);
276 check_length_with_cmp (6, mpz, 24, mpz_cmp_ui (mpz, 24), Zi);
326 mpz_clear (mpz);
H A Dtsprintf.c739 mpz_t mpz; local
748 mpz_init (mpz);
749 mpz_fib_ui (mpz, 64);
757 check_vsprintf ("10610209857723, -1.2345678875e+07", "%Zi, %R*e", mpz, rnd,
773 "%.*Zi, %R*e, %Lf", 20, mpz, rnd, x, d);
778 mpz_clear (mpz);
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/tests/
H A DMakefile.am21 SUBDIRS = . devel mpn mpz mpq mpf rand misc cxx mpbsd
H A DMakefile.in351 SUBDIRS = . devel mpn mpz mpq mpf rand misc cxx mpbsd
/netbsd-6-1-5-RELEASE/external/lgpl2/mpc/dist/tests/
H A Dtset.c69 mpz_t mpz; local
76 mpz_init (mpz);
83 mpz_set_ui (mpz, 0x4217);
174 mpfr_set_z (fr, mpz, GMP_RNDN);
175 mpc_set_z_z (z, mpz, mpz, MPC_RNDNN);
189 mpc_set_z (z, mpz, MPC_RNDNN);
307 mpz_clear (mpz);
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/demos/perl/GMP/
H A DMpz.pm1 # GMP mpz module.
33 lcm lucnum lucnum2 mod mpz mpz_export
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpz/
H A DMakefile.am60 cd ..; $(MAKE) $(AM_MAKEFLAGS) mpz/fac_ui.h
H A DMakefile.in56 subdir = mpz
329 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps mpz/Makefile'; \
331 $(AUTOMAKE) --gnu --ignore-deps mpz/Makefile
958 cd ..; $(MAKE) $(AM_MAKEFLAGS) mpz/fac_ui.h
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/lib/libgmp/
H A DMakefile136 ${MPZ_SRCS:C/^/mpz /} \
190 ${DIST}/mpz
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/tests/mpz/
H A DMakefile.in74 subdir = tests/mpz
597 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps tests/mpz/Makefile'; \
599 $(AUTOMAKE) --gnu --ignore-deps tests/mpz/Makefile

Completed in 216 milliseconds