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

  /src/external/lgpl3/gmp/dist/demos/perl/
sample.pl 45 use GMP::Mpq qw(:constants);
47 use GMP::Mpq qw(:noconstants);
test2.pl 43 use GMP::Mpq qw(:constants);
46 ok (UNIVERSAL::isa ($a, "GMP::Mpq"));
48 use GMP::Mpq qw(:noconstants);
GMP.pm 91 } elsif (UNIVERSAL::isa($_[0],"GMP::Mpq")) {
93 die "GMP::sprintf: unsupported output format for mpq: $pat2\n";
143 use GMP::Mpq;
156 use GMP::Mpq qw(:all); # everything in mpq
162 string, mpz, mpq or mpf. Floats, mpq and mpf will be automatically
241 =head2 GMP::Mpq
244 denominators. A new mpq can be constructed with C<mpq>. The initial valu
    [all...]
GMP.xs 153 static classconst char mpq_class[] = "GMP::Mpq";
168 (TRACE (printf (" active %ld mpz, %ld mpq, %ld mpf, %ld randstate\n", \
210 CREATE_MPX (mpq)
297 #define free_mpq(q) FREE_MPX_FREELIST (q, mpq)
319 #define SvMPQ(s) SvMPX(s,mpq)
330 #define MPQ_ASSUME(q,sv) MPX_ASSUME(q,sv,mpq)
419 my_mpx_set_svstr(mpq)
427 mpq y;
481 the data. Applications should convert once to mpz, mpq or mpf when using
606 already an mpz (or an mpq of which the numerator can be used). Retur
    [all...]
test.pl 57 use GMP::Mpq qw(:all);
63 use GMP::Mpq qw(:constants);
64 use GMP::Mpq qw(:noconstants);
138 ok (mpz(mpq(0)) == 0);
152 { tie my $t, 'Mytie', mpq(0); ok (mpz($t) == 0); }
160 ok (mpz(mpq(-123)) == -123);
168 { tie my $t, 'Mytie', mpq(-123); ok (mpz($t) == -123); }
392 ok (mpz(0) < mpq(1));
1110 # GMP::Mpq
1113 # GMP::Mpq::ne
    [all...]
  /src/external/lgpl3/gmp/dist/demos/perl/GMP/
Mpq.pm 1 # GMP mpq module.
32 package GMP::Mpq;
39 %EXPORT_TAGS = ('all' => [qw(canonicalize den inv mpq num)],

Completed in 37 milliseconds