/dports/math/p5-bignum/bignum-0.63/t/ |
H A D | scope-nested-const.t | 22 use bigrat; 26 no bigrat; 53 use bigrat; 69 no bigrat; 98 no bigrat; 125 use bigrat; 141 no bigrat; 156 use bigrat; 184 no bigrat; 192 use bigrat; [all …]
|
H A D | bigrat.t | 10 use bigrat; 53 is(bigrat->accuracy(), undef, 'get accuracy'); 54 bigrat->accuracy(12); 55 is(bigrat->accuracy(), 12, 'get accuracy again'); 56 bigrat->accuracy(undef); 59 is(bigrat->precision(), undef, 'get precision'); 60 bigrat->precision(12); 61 is(bigrat->precision(), 12, 'get precision again'); 62 bigrat->precision(undef); 66 bigrat->round_mode('odd'); [all …]
|
H A D | import-bigrat.t | 10 use bigrat; 22 $rc = eval { bigrat -> import("l" => "foo") }; 24 qq|eval { bigrat -> import("l" => "foo") }|); 28 $rc = eval { bigrat -> import("lib" => "foo") }; 30 qq|eval { bigrat -> import("lib" => "foo") }|); 34 $rc = eval { bigrat -> import("try" => "foo") }; 36 qq|eval { bigrat -> import("try" => "foo") }|); 40 $rc = eval { bigrat -> import("try" => "foo") }; 42 qq|eval { bigrat -> import("try" => "foo") }|); 46 $rc = eval { bigrat -> import("foo" => "bar") }; [all …]
|
H A D | in_effect.t | 21 is(bigrat::in_effect(), undef, 'bigint not in effect'); 29 is(bigrat::in_effect(), undef, 'bigrat not in effect'); 43 is(bigrat::in_effect(), undef, 'bigint not in effect'); 51 is(bigrat::in_effect(), undef, 'bigrat not in effect'); 56 use bigrat; 58 can_ok('bigrat', qw/in_effect/); 65 is(bigrat::in_effect(), 1, 'bigint in effect'); 69 no bigrat; 73 is(bigrat::in_effect(), undef, 'bigrat not in effect');
|
H A D | scope-nested-hex-oct.t | 28 use bigrat; 33 no bigrat; 66 use bigrat; 86 no bigrat; 121 no bigrat; 154 use bigrat; 174 no bigrat; 192 use bigrat; 227 no bigrat; 236 use bigrat; [all …]
|
H A D | overrides.t | 38 'bigint hex() works when bignum and bigrat are loaded'; 40 'bigint oct() works when bignum and bigrat are loaded'; 56 'bignum hex() works when bigint and bigrat are loaded'; 58 'bignum oct() works when bigint and bigrat are loaded'; 63 use bigrat; 65 is hex, "32", 'bigrat hex override without arguments infers $_'; 74 'bigrat hex() works when bignum and bigint are loaded'; 76 'bigrat oct() works when bignum and bigint are loaded'; 111 use bigrat 'hex', 'oct'; 112 ::is \&hex, \&bigrat::hex, 'bigrat exports hex'; [all …]
|
H A D | scope-bigrat.t | 4 # Test "no bigrat;" and overloading of hex()/oct() for newer Perls 12 use bigrat; 19 # Quote numbers due to "use bigrat;" 27 no bigrat;
|
H A D | ratopt_a.t | 12 # bigrat (bug until v0.15) 13 use bigrat a => 2; 19 eval { bigrat->import(accuracy => '42') };
|
H A D | 01load.t | 11 use_ok('bigrat'); 16 'bigrat',
|
H A D | option_p.t | 31 use bigrat p => "12"; 34 bigrat -> import(precision => "23");
|
H A D | option_a.t | 31 use bigrat a => "12"; 34 bigrat -> import(accuracy => "23");
|
/dports/math/p5-Math-SymbolicX-BigNum/Math-SymbolicX-BigNum-0.02/t/ |
H A D | base.t | 40 my $bigrat = parse_from_string('bigrat(1/7)'); 41 ok( defined $bigrat, 'bigrat-parse defined' ); 42 ok( $bigrat->value() == Math::BigRat->new('1/7'), 'bigrat-value okay' );
|
/dports/math/pynac/pynac-pynac-0.7.27/ginac/ |
H A D | numeric.cpp | 1303 mpq_add(bigrat, bigrat, other.v._bigrat); in add() 1310 mpq_add(bigrat, bigrat, v._bigrat); in add() 1374 mpq_sub(bigrat, bigrat, tmp); in sub() 1492 mpq_div(bigrat, bigrat, obigrat); in div() 1509 mpq_div(bigrat, bigrat, obigrat); in div() 1749 mpq_inv(bigrat, bigrat); in power() 1766 mpq_inv(bigrat, bigrat); in power() 1781 mpq_div(bigrat, bigrat, obigrat); in power() 1787 mpq_div(bigrat, bigrat, obigrat); in power() 2080 mpq_neg(bigrat, bigrat); in negative() [all …]
|
/dports/math/p5-bignum/bignum-0.63/ |
H A D | MANIFEST | 7 lib/bigrat.pm 22 t/bigrat.t 25 t/const-bigrat.t 28 t/e_pi-bigrat.t 31 t/import-bigrat.t 35 t/infnan-bigrat.t 43 t/scope-bigrat.t
|
H A D | SIGNATURE | 35 SHA256 8cbd47eefe4d4dbd38268fea69f45f0c1feae86cd21afc11fda30c7c5e9d3c55 lib/bigrat.pm 41 SHA256 6176f09de398675753b37490b76946864b4b1fcb7afc024bb541ed61ce21c8eb t/bigrat.t 44 SHA256 42c205502bddc431dc0bb03465582d851dbc56b9c400cba78d90a76b7cc8063b t/const-bigrat.t 47 SHA256 1c0f1c3dfa53423081df182a6fa3106086d3be882a9bbde4b05a4195b7433122 t/e_pi-bigrat.t 50 SHA256 ebe1a1d142ce6e67ec709ebdd66d0cfe4f7b625436b55cb3681395fe3978c4d7 t/import-bigrat.t 54 SHA256 c3bb2b45441ec5f3fcb7fa908b6523a2ea9a7c013e5ba500b3a8a2d8cb35088b t/infnan-bigrat.t 62 SHA256 e465b8cef2431511bcc023ac2f5be6ffaa49d2a3b0ecfed3df6cfe89f2c0664d t/scope-bigrat.t
|
H A D | CHANGES | 20 * Make sure the bigrat pragma always returns Math::BigRat objects. 36 * Separate the bigint, bignum, and bigrat pragmas. 46 - The bigrat pragma now converts every numeric constant to a Math::BigRat 129 bigint.pm, and bigrat.pm. 270 * make bignum.pm and bigrat.pm re-use code from bigint.pm 293 "bignum/bigrat can lead to a number that is both 1 and 0" 342 * allow parameters a and p for bigrat 348 * bigrat() now calls Math::BigRat->precision|accuracy|round_mode, too 378 * more tests for bigrat and bignum 395 * bigrat: some typos [all …]
|
H A D | README | 3 bigint/bigrat/bignum - transparent big number support 21 perldoc bigrat
|
H A D | README.md | 3 bigint/bigrat/bignum - transparent big number support 21 perldoc bigrat
|
/dports/lang/perl5.34/perl-5.34.0/cpan/bignum/t/ |
H A D | overrides.t | 108 ::is \&hex, \&bigrat::hex, 'bigrat exports hex'; 109 ::is \&oct, \&bigrat::oct, 'bigrat exports oct';
|
H A D | br_lite.t | 17 is($bigrat::_lite, 1, '$bigrat::_lite is 1');
|
/dports/lang/perl5.30/perl-5.30.3/cpan/bignum/t/ |
H A D | overrides.t | 108 ::is \&hex, \&bigrat::hex, 'bigrat exports hex'; 109 ::is \&oct, \&bigrat::oct, 'bigrat exports oct';
|
/dports/lang/perl5.32/perl-5.32.1/cpan/bignum/t/ |
H A D | overrides.t | 108 ::is \&hex, \&bigrat::hex, 'bigrat exports hex'; 109 ::is \&oct, \&bigrat::oct, 'bigrat exports oct';
|
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/cpan/bignum/t/ |
H A D | overrides.t | 108 ::is \&hex, \&bigrat::hex, 'bigrat exports hex'; 109 ::is \&oct, \&bigrat::oct, 'bigrat exports oct';
|
/dports/math/sprng/sprng5/SRC/ |
H A D | Makefile.am | 25 bigrat.cpp bigrat.h \
|
H A D | Makefile.in | 147 libsprng_a-info.$(OBJEXT) libsprng_a-bigrat.$(OBJEXT) \ 407 bigrat.cpp bigrat.h \ 498 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsprng_a-bigrat.Po@am__quote@ 699 libsprng_a-bigrat.o: bigrat.cpp 700 … libsprng_a-bigrat.o -MD -MP -MF $(DEPDIR)/libsprng_a-bigrat.Tpo -c -o libsprng_a-bigrat.o `test -… 701 …fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libsprng_a-bigrat.Tpo $(DEPDIR)/libsprng_a-bigrat.Po 704 …sprng_a_CXXFLAGS) $(CXXFLAGS) -c -o libsprng_a-bigrat.o `test -f 'bigrat.cpp' || echo '$(srcdir)/'… 706 libsprng_a-bigrat.obj: bigrat.cpp 707 …CXXFLAGS) $(CXXFLAGS) -MT libsprng_a-bigrat.obj -MD -MP -MF $(DEPDIR)/libsprng_a-bigrat.Tpo -c -o … 708 …fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libsprng_a-bigrat.Tpo $(DEPDIR)/libsprng_a-bigrat.Po [all …]
|