Home
last modified time | relevance | path

Searched refs:bnorm (Results 1 – 10 of 10) sorted by relevance

/openbsd/gnu/usr.bin/perl/cpan/Math-BigRat/t/
H A Ddowngrade.t132 note("bnorm()");
134 $x = $zero -> copy() -> bnorm();
135 cmp_ok($x, "==", 0, "bnorm(0)");
136 is(ref($x), "Math::BigInt", "bnorm(0) => Math::BigInt");
138 $x = $four -> copy() -> bnorm();
139 cmp_ok($x, "==", 4, "bnorm(4)");
140 is(ref($x), "Math::BigInt", "bnorm(4) => Math::BigInt");
142 $x = $inf -> copy() -> bnorm();
143 cmp_ok($x, "==", "inf", "bnorm(Inf)");
146 $x = $nan -> copy() -> bnorm();
[all …]
H A Dbigrat.t30 # new and bnorm()
32 foreach my $method (qw/ new bnorm /) {
H A Dbigratpm.inc38 if ($f eq "bnorm") {
346 &bnorm
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/t/
H A Ddowngrade.t273 note("testing bnorm()");
275 $x = $zero -> copy() -> bnorm();
276 subtest '$x = $zero -> copy() -> bnorm();' => sub {
279 is(ref($x), 'Math::BigInt', 'bnorm(0) => Math::BigInt');
282 $x = $four -> copy() -> bnorm();
283 subtest '$x = $four -> copy() -> bnorm();' => sub {
289 $x = $inf -> copy() -> bnorm();
290 subtest '$x = $inf -> copy() -> bnorm();' => sub {
296 $x = $nan -> copy() -> bnorm();
297 subtest '$x = $nan -> copy() -> bnorm();' => sub {
[all …]
H A Dupgrade.inc81 if ($f eq "bnorm") {
82 $try = qq|\$x = $CLASS->bnorm("$args[0]");|;
388 &bnorm
H A Dbigfltpm.inc38 if ($f eq "bnorm") {
693 &bnorm
895 &bnorm
H A Dbigintpm.inc69 if ($f eq "bnorm") {
70 $try = qq|\$x = $CLASS->bnorm("$args[0]");|;
562 # test for floating-point input (other tests in bnorm() below)
1180 &bnorm
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/
H A DBigFloat.pm421 return $self -> bnorm();
1624 sub bnorm { subroutine
1916 $x = $x->bnorm->round(@r);
1996 $x = $x->bnorm()->round(@r);
2322 $x = $x->bnorm();
2331 $x = $x->bnorm();
2451 $x = $x -> bnorm();
2603 $x = $x -> bnorm();
3408 $x = $x->bnorm();
3489 $x = $x->bnorm();
[all …]
H A DBigInt.pm1619 sub bnorm { subroutine
/openbsd/gnu/usr.bin/perl/cpan/Math-BigRat/lib/Math/
H A DBigRat.pm467 return $self -> bnorm();
500 return $self -> bnorm();
538 return $self -> bnorm();
760 sub bnorm { subroutine
874 $x->bnorm()->round(@r);
894 $x->bnorm();
951 $x->bnorm()->round(@r);
1084 $x -> bnorm();
1183 $x->bnorm()->round(@r);
1206 $x->bnorm()->round(@r);