Home
last modified time | relevance | path

Searched refs:bgcd (Results 1 – 25 of 111) sorted by relevance

12345

/dports/math/p5-Math-BigInt-FastCalc/Math-BigInt-FastCalc-0.5012/t/
H A Dbigintpm.t18 # bgcd() as function, class method and instance method.
20 my $gcd0 = Math::BigInt::bgcd(-12, 18, 27);
21 isa_ok($gcd0, "Math::BigInt", "bgcd() as function");
22 is($gcd0, 3, "bgcd() as function");
24 my $gcd1 = Math::BigInt->bgcd(-12, 18, 27);
25 isa_ok($gcd1, "Math::BigInt", "bgcd() as class method");
26 is($gcd1, 3, "bgcd() as class method");
29 my $gcd2 = $x -> bgcd(18, 27);
30 isa_ok($gcd2, "Math::BigInt", "bgcd() as instance method");
31 is($gcd2, 3, "bgcd() as instance method");
[all …]
H A Dbigfltpm.t34 # bgcd() as function, class method and instance method.
36 my $gcd0 = Math::BigFloat::bgcd(-12, 18, 27);
37 isa_ok($gcd0, "Math::BigFloat", "bgcd() as function");
38 is($gcd0, 3, "bgcd() as function");
40 my $gcd1 = Math::BigFloat->bgcd(-12, 18, 27);
41 isa_ok($gcd1, "Math::BigFloat", "bgcd() as class method");
42 is($gcd1, 3, "bgcd() as class method");
45 my $gcd2 = $x -> bgcd(18, 27);
46 isa_ok($gcd2, "Math::BigFloat", "bgcd() as instance method");
47 is($gcd2, 3, "bgcd() as instance method");
[all …]
/dports/math/p5-Math-BigInt-Pari/Math-BigInt-Pari-1.3008/t/
H A Dbigintpm.t18 # bgcd() as function, class method and instance method.
20 my $gcd0 = Math::BigInt::bgcd(-12, 18, 27);
21 isa_ok($gcd0, "Math::BigInt", "bgcd() as function");
22 is($gcd0, 3, "bgcd() as function");
24 my $gcd1 = Math::BigInt->bgcd(-12, 18, 27);
25 isa_ok($gcd1, "Math::BigInt", "bgcd() as class method");
26 is($gcd1, 3, "bgcd() as class method");
29 my $gcd2 = $x -> bgcd(18, 27);
30 isa_ok($gcd2, "Math::BigInt", "bgcd() as instance method");
31 is($gcd2, 3, "bgcd() as instance method");
[all …]
H A Dbigfltpm.t34 # bgcd() as function, class method and instance method.
36 my $gcd0 = Math::BigFloat::bgcd(-12, 18, 27);
37 isa_ok($gcd0, "Math::BigFloat", "bgcd() as function");
38 is($gcd0, 3, "bgcd() as function");
40 my $gcd1 = Math::BigFloat->bgcd(-12, 18, 27);
41 isa_ok($gcd1, "Math::BigFloat", "bgcd() as class method");
42 is($gcd1, 3, "bgcd() as class method");
45 my $gcd2 = $x -> bgcd(18, 27);
46 isa_ok($gcd2, "Math::BigFloat", "bgcd() as instance method");
47 is($gcd2, 3, "bgcd() as instance method");
[all …]
/dports/math/p5-Math-BigInt-GMP/Math-BigInt-GMP-1.6009/t/
H A Dbigintpm.t18 # bgcd() as function, class method and instance method.
20 my $gcd0 = Math::BigInt::bgcd(-12, 18, 27);
21 isa_ok($gcd0, "Math::BigInt", "bgcd() as function");
22 is($gcd0, 3, "bgcd() as function");
24 my $gcd1 = Math::BigInt->bgcd(-12, 18, 27);
25 isa_ok($gcd1, "Math::BigInt", "bgcd() as class method");
26 is($gcd1, 3, "bgcd() as class method");
29 my $gcd2 = $x -> bgcd(18, 27);
30 isa_ok($gcd2, "Math::BigInt", "bgcd() as instance method");
31 is($gcd2, 3, "bgcd() as instance method");
[all …]
H A Dbigfltpm.t34 # bgcd() as function, class method and instance method.
36 my $gcd0 = Math::BigFloat::bgcd(-12, 18, 27);
37 isa_ok($gcd0, "Math::BigFloat", "bgcd() as function");
38 is($gcd0, 3, "bgcd() as function");
40 my $gcd1 = Math::BigFloat->bgcd(-12, 18, 27);
41 isa_ok($gcd1, "Math::BigFloat", "bgcd() as class method");
42 is($gcd1, 3, "bgcd() as class method");
45 my $gcd2 = $x -> bgcd(18, 27);
46 isa_ok($gcd2, "Math::BigFloat", "bgcd() as instance method");
47 is($gcd2, 3, "bgcd() as instance method");
[all …]
/dports/math/p5-Math-BigInt/Math-BigInt-1.999827/t/
H A Dbigintpm.t18 # bgcd() as function, class method and instance method.
20 my $gcd0 = Math::BigInt::bgcd(-12, 18, 27);
21 isa_ok($gcd0, "Math::BigInt", "bgcd() as function");
22 is($gcd0, 3, "bgcd() as function");
24 my $gcd1 = Math::BigInt->bgcd(-12, 18, 27);
25 isa_ok($gcd1, "Math::BigInt", "bgcd() as class method");
26 is($gcd1, 3, "bgcd() as class method");
29 my $gcd2 = $x -> bgcd(18, 27);
30 isa_ok($gcd2, "Math::BigInt", "bgcd() as instance method");
31 is($gcd2, 3, "bgcd() as instance method");
[all …]
H A Dbigfltpm.t34 # bgcd() as function, class method and instance method.
36 my $gcd0 = Math::BigFloat::bgcd(-12, 18, 27);
37 isa_ok($gcd0, "Math::BigFloat", "bgcd() as function");
38 is($gcd0, 3, "bgcd() as function");
40 my $gcd1 = Math::BigFloat->bgcd(-12, 18, 27);
41 isa_ok($gcd1, "Math::BigFloat", "bgcd() as class method");
42 is($gcd1, 3, "bgcd() as class method");
45 my $gcd2 = $x -> bgcd(18, 27);
46 isa_ok($gcd2, "Math::BigFloat", "bgcd() as instance method");
47 is($gcd2, 3, "bgcd() as instance method");
[all …]
H A Dcalling-constant.t15 $try = qq|use $class 0, "bgcd", ":constant";|
16 . q| $x = 2**150; bgcd($x); $x = "$x";|;
/dports/math/p5-Math-Prime-Util/Math-Prime-Util-0.73/lib/Math/Prime/Util/
H A DRandomPrimes.pm343 next unless Math::BigInt::bgcd($prime, 7436429) == 1;
345 next unless Math::BigInt::bgcd($prime, $_big_gcd[0]) == 1;
346 next unless Math::BigInt::bgcd($prime, $_big_gcd[1]) == 1;
347 next unless Math::BigInt::bgcd($prime, $_big_gcd[2]) == 1;
517 next unless Math::BigInt::bgcd($p, $_big_gcd[0]) == 1;
518 next unless Math::BigInt::bgcd($p, $_big_gcd[1]) == 1;
519 next unless Math::BigInt::bgcd($p, $_big_gcd[2]) == 1;
520 next unless Math::BigInt::bgcd($p, $_big_gcd[3]) == 1;
669 next unless Math::BigInt::bgcd($n, 111546435)->is_one;
671 next unless Math::BigInt::bgcd($n, $_big_gcd[0])->is_one;
[all …]
/dports/lang/perl5.30/perl-5.30.3/cpan/Math-BigInt/t/
H A Dbigintpm.t20 my $gcd0 = Math::BigInt::bgcd(-12, 18, 27);
24 my $gcd1 = Math::BigInt->bgcd(-12, 18, 27);
29 my $gcd2 = $x -> bgcd(18, 27);
H A Dbigfltpm.t36 my $gcd0 = Math::BigFloat::bgcd(-12, 18, 27);
40 my $gcd1 = Math::BigFloat->bgcd(-12, 18, 27);
45 my $gcd2 = $x -> bgcd(18, 27);
/dports/lang/perl5.32/perl-5.32.1/cpan/Math-BigInt/t/
H A Dbigfltpm.t36 my $gcd0 = Math::BigFloat::bgcd(-12, 18, 27);
40 my $gcd1 = Math::BigFloat->bgcd(-12, 18, 27);
45 my $gcd2 = $x -> bgcd(18, 27);
H A Dbigintpm.t20 my $gcd0 = Math::BigInt::bgcd(-12, 18, 27);
24 my $gcd1 = Math::BigInt->bgcd(-12, 18, 27);
29 my $gcd2 = $x -> bgcd(18, 27);
/dports/lang/perl5.34/perl-5.34.0/cpan/Math-BigInt/t/
H A Dbigfltpm.t36 my $gcd0 = Math::BigFloat::bgcd(-12, 18, 27);
40 my $gcd1 = Math::BigFloat->bgcd(-12, 18, 27);
45 my $gcd2 = $x -> bgcd(18, 27);
H A Dbigintpm.t20 my $gcd0 = Math::BigInt::bgcd(-12, 18, 27);
24 my $gcd1 = Math::BigInt->bgcd(-12, 18, 27);
29 my $gcd2 = $x -> bgcd(18, 27);
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/cpan/Math-BigInt/t/
H A Dbigfltpm.t36 my $gcd0 = Math::BigFloat::bgcd(-12, 18, 27);
40 my $gcd1 = Math::BigFloat->bgcd(-12, 18, 27);
45 my $gcd2 = $x -> bgcd(18, 27);
H A Dbigintpm.t20 my $gcd0 = Math::BigInt::bgcd(-12, 18, 27);
24 my $gcd1 = Math::BigInt->bgcd(-12, 18, 27);
29 my $gcd2 = $x -> bgcd(18, 27);
/dports/lang/perl5.30/perl-5.30.3/cpan/Math-BigInt/t/Math/BigFloat/
H A DSubclass.pm45 *bgcd = \&Math::BigFloat::bgcd;
/dports/lang/perl5.32/perl-5.32.1/cpan/Math-BigInt/t/Math/BigFloat/
H A DSubclass.pm45 *bgcd = \&Math::BigFloat::bgcd;
/dports/lang/perl5.34/perl-5.34.0/cpan/Math-BigInt/t/Math/BigFloat/
H A DSubclass.pm45 *bgcd = \&Math::BigFloat::bgcd;
/dports/math/p5-Math-BigInt/Math-BigInt-1.999827/t/Math/BigFloat/
H A DSubclass.pm45 *bgcd = \&Math::BigFloat::bgcd;
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/cpan/Math-BigInt/t/Math/BigFloat/
H A DSubclass.pm45 *bgcd = \&Math::BigFloat::bgcd;
/dports/lang/perl5.30/perl-5.30.3/cpan/Math-BigInt/t/Math/BigInt/
H A DSubclass.pm43 sub bgcd { subroutine
44 Math::BigInt::bgcd(@_);
/dports/lang/perl5.32/perl-5.32.1/cpan/Math-BigInt/t/Math/BigInt/
H A DSubclass.pm43 sub bgcd { subroutine
44 Math::BigInt::bgcd(@_);

12345