| /src/external/lgpl3/gmp/dist/demos/perl/ |
| sample.pl | 50 use GMP::Mpf qw(mpf); 51 my $f = mpf(1,180); 54 print "a sample mpf is $f\n";
|
| test.pl | 58 use GMP::Mpf qw(:all); 65 use GMP::Mpf qw(:constants); 66 use GMP::Mpf qw(:noconstants); 139 ok (mpz(mpf(0)) == 0); 153 { tie my $t, 'Mytie', mpf(0); ok (mpz($t) == 0); } 161 ok (mpz(mpf(-123)) == -123); 169 { tie my $t, 'Mytie', mpf(-123); ok (mpz($t) == -123); } 393 ok (mpz(0) < mpf(1)); 1121 ok (mpq(mpf(0)) == 0); 1129 { tie my $t, 'Mytie', mpf(0); ok (mpq($t) == 0); [all...] |
| GMP.pm | 98 } elsif (UNIVERSAL::isa($_[0],"GMP::Mpf")) { 100 die "GMP::sprintf: unsupported output format for mpf: $pat2\n"; 144 use GMP::Mpf; 162 string, mpz, mpq or mpf. Floats, mpq and mpf will be automatically 245 can be an integer, float, string, mpz, mpq or mpf, or a pair of integers or 246 mpz's. No precision is lost when converting a float or mpf, the exact value 293 =head2 GMP::Mpf 299 A new mpf can be constructed with C<mpf>. The initial value can be a [all...] |
| GMP.xs | 154 static classconst char mpf_class[] = "GMP::Mpf"; 168 (TRACE (printf (" active %ld mpz, %ld mpq, %ld mpf, %ld randstate\n", \ 212 typedef mpf_ptr mpf; 218 static mpf 221 mpf p; 224 TRACE (printf (" mpf p=%p\n", p)); 320 #define SvMPF(s) SvMPX(s,mpf) 331 #define MPF_ASSUME(f,sv) MPX_ASSUME(f,sv,mpf) 420 my_mpx_set_svstr(mpf) 481 the data. Applications should convert once to mpz, mpq or mpf when usin [all...] |
| /src/external/lgpl3/gmp/dist/ |
| Makefile.am | 115 SUBDIRS = tests mpn mpz mpq mpf printf scanf rand cxx demos tune doc 154 MPF_OBJECTS = mpf/init$U.lo mpf/init2$U.lo mpf/inits$U.lo mpf/set$U.lo \ 155 mpf/set_ui$U.lo mpf/set_si$U.lo mpf/set_str$U.lo mpf/set_d$U.lo \ 156 mpf/set_z$U.lo mpf/iset$U.lo mpf/iset_ui$U.lo mpf/iset_si$U.lo [all...] |
| gmpxx.h | 2942 // variant that only works for one of { mpz, mpq, mpf } 3026 // variant that only works for one of { mpz, mpq, mpf } 3222 __GMP_DEFINE_COMPOUND_OPERATOR(mpf, fun, eval_fun) 3242 __GMP_DEFINE_COMPOUND_OPERATOR_UI(mpf, fun, eval_fun) 3268 __GMP_DEFINE_INCREMENT_OPERATOR(mpf, fun, eval_fun)
|
| /src/external/lgpl3/mpfr/dist/tests/ |
| tfprintf.c | 177 mpf_t mpf; local 190 mpf_init (mpf); 191 mpf_set_q (mpf, mpq); 194 mpfr_set_f (mpfr, mpf, MPFR_RNDN); 207 check_vfprintf (fout, "a. %R*A, b. %Fe, c. %i%zn", rnd, mpfr, mpf, sz, 277 check_vfprintf (fout, "a. %lli, b. %Rf%Fn", llo, mpfr, &mpf); 278 check_length_with_cmp (22, mpf, 19, mpf_cmp_ui (mpf, 19), Fg); 289 check_vfprintf (fout, "a. %.*Re, b. %jx%Fn", 10, mpfr, uim, &mpf); 290 check_length_with_cmp (32, mpf, 25, mpf_cmp_ui (mpf, 25), Fg) [all...] |
| tprintf.c | 304 mpf_t mpf; local 314 mpf_init (mpf); 315 mpf_set_q (mpf, mpq); 317 mpfr_set_f (mpfr, mpf, MPFR_RNDN); 328 check_vprintf ("a. %R*A, b. %Fe, c. %i%zn", rnd, mpfr, mpf, sz, &sz); 380 check_vprintf ("a. %*RA, b. %ji%Fn", 10, mpfr, im, &mpf); 381 check_length_with_cmp (31, mpf, 20, mpf_cmp_ui (mpf, 20), Fg); 388 mpf_clear (mpf);
|
| tsprintf.c | 912 mpf_t mpf; local 919 mpf_init (mpf); 920 mpf_set_ui (mpf, 40); 921 mpf_div_ui (mpf, mpf, 31); /* mpf = 40.0 / 31.0 */ 948 "%i, %.*Rf, %Ff%n", i, 12, x, mpf, &n2); 973 mpf_clear (mpf);
|
| /src/external/lgpl3/mpc/dist/tests/ |
| tset.c | 67 mpf_t mpf; local 74 mpf_init2 (mpf, 1000); 81 mpf_set_q (mpf, mpq); 221 mpfr_set_f (fr, mpf, MPFR_RNDN); 222 mpc_set_f_f (z, mpf, mpf, MPC_RNDNN); 229 mpc_set_f (z, mpf, MPC_RNDNN); 236 mpc_set_f_si (z, mpf, lo, MPC_RNDNN); 313 mpf_clear (mpf);
|
| check_data.c | 46 return mpf_cmp (got->mpf, expected->mpf);
|
| copy_parameter.c | 83 mpf_set (params->P[index_dest].mpf, params->P[index_src].mpf);
|
| clear_parameters.c | 41 mpf_clear (p->mpf);
|
| init_parameters.c | 42 mpf_init (p->mpf);
|
| print_parameter.c | 83 gmp_printf ("= %Fe\n", params->P[index].mpf);
|
| mpc-tests.h | 251 mpf_t mpf; member in union:__anon23590
|
| /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/ |
| Mpf.pm | 1 # GMP mpf module. 32 package GMP::Mpf; 40 ceil floor get_default_prec get_prec mpf mpf_eq 91 die "GMP::Mpf: invalid \$# format: $#\n";
|
| /src/external/gpl3/binutils/dist/bfd/ |
| configure.com | 216 /* config.h-vms. Generated by hand by Klaus K�mpf, kkaempf@didymus.rmi.de. */
|
| /src/external/gpl3/binutils.old/dist/bfd/ |
| configure.com | 216 /* config.h-vms. Generated by hand by Klaus K�mpf, kkaempf@didymus.rmi.de. */
|
| /src/external/gpl3/gdb.old/dist/bfd/ |
| configure.com | 216 /* config.h-vms. Generated by hand by Klaus K�mpf, kkaempf@didymus.rmi.de. */
|
| /src/external/gpl3/gdb/dist/bfd/ |
| configure.com | 216 /* config.h-vms. Generated by hand by Klaus K�mpf, kkaempf@didymus.rmi.de. */
|
| /src/external/lgpl3/gmp/lib/libgmp/ |
| Makefile | 141 ${MPF_SRCS:C/^/mpf /} \ 253 ${DIST}/mpf \
|
| /src/external/lgpl3/gmp/dist/doc/ |
| configuration | 54 The same applies to mpf, mpq, scanf and printf. 145 ii) Tests for mpn, mpz, mpq and mpf can be added under the
|