Home
last modified time | relevance | path

Searched refs:_acmp (Results 1 – 11 of 11) sorted by relevance

/openbsd/src/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/BigInt/
DLib.pm120 return $class -> _acmp($x, $y) < 0;
133 return $class -> _acmp($x, $y) <= 0;
146 return $class -> _acmp($x, $y) > 0;
159 return $class -> _acmp($x, $y) >= 0;
166 return $class -> _acmp($x, $y) == 0;
173 return $class -> _acmp($x, $y) != 0;
188 return $class -> _acmp($x, $y);
322 while ($class -> _acmp($i, $y) < 0) {
337 while ($class -> _acmp($r, $y) >= 0) {
376 my $acmp = $class -> _acmp($xa, $ya); # abs(x) = abs(y)
[all …]
DCalc.pm965 sub _acmp { subroutine
1224 if ($c -> _acmp($b, $c -> _ten())) {
1375 if ($c->_acmp($twok, $n) > 0) { # if 2*k > n
1406 while ($c->_acmp($f, $n_orig) <= 0) {
1589 while ($c->_acmp($step, $n) <= 0) {
1660 my $cmp = $c->_acmp($x, $base);
1691 my $acmp = $c->_acmp($trial, $x_org);
1702 $acmp = $c->_acmp($trial, $x_org);
1710 $acmp = $c->_acmp($trial, $x_org);
1783 my $acmp = $c -> _acmp($x, $base);
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/Math-BigInt-FastCalc/t/
Dbigintfc.t286 # _acmp
290 is($LIB->_acmp($x, $y), -1, qq|$LIB->_acmp(\$x, \$y) = -1|);
291 is($LIB->_acmp($y, $x), 1, qq|$LIB->_acmp(\$y, \$x) = 1|);
292 is($LIB->_acmp($x, $x), 0, qq|$LIB->_acmp(\$x, \$x) = 0|);
293 is($LIB->_acmp($y, $y), 0, qq|$LIB->_acmp(\$y, \$y) = 0|);
296 is($LIB->_acmp($x, $y), 0, qq|$LIB->_acmp(\$x, \$y) = 0|);
298 is($LIB->_acmp($x, $y), 1, qq|$LIB->_acmp(\$x, \$y) = 1|);
299 is($LIB->_acmp($y, $x), -1, qq|$LIB->_acmp(\$y, \$x) = -1|);
302 is($LIB->_acmp($x, $y), -1, qq|$LIB->_acmp(\$x, \$y) = -1|);
303 is($LIB->_acmp($y, $x), +1, qq|$LIB->_acmp(\$y, \$x) = +1|);
[all …]
Dleak.t74 my $rc = Math::BigInt::FastCalc->_acmp($n1,$n2);
79 is ($destroyed, 1, "_acmp($n_1,$n_2) does not leak memory");
/openbsd/src/gnu/usr.bin/perl/cpan/Math-BigInt/t/
Dbigintc.t286 # _acmp
290 is($LIB->_acmp($x, $y), -1, qq|$LIB->_acmp(\$x, \$y) = -1|);
291 is($LIB->_acmp($y, $x), 1, qq|$LIB->_acmp(\$y, \$x) = 1|);
292 is($LIB->_acmp($x, $x), 0, qq|$LIB->_acmp(\$x, \$x) = 0|);
293 is($LIB->_acmp($y, $y), 0, qq|$LIB->_acmp(\$y, \$y) = 0|);
296 is($LIB->_acmp($x, $y), 0, qq|$LIB->_acmp(\$x, \$y) = 0|);
298 is($LIB->_acmp($x, $y), 1, qq|$LIB->_acmp(\$x, \$y) = 1|);
299 is($LIB->_acmp($y, $x), -1, qq|$LIB->_acmp(\$y, \$x) = -1|);
302 is($LIB->_acmp($x, $y), -1, qq|$LIB->_acmp(\$x, \$y) = -1|);
303 is($LIB->_acmp($y, $x), +1, qq|$LIB->_acmp(\$y, \$x) = +1|);
[all …]
Dbigints.t88 # _acmp
92 is($class->_acmp($x, $y), -1, "$class->_acmp(\$x, \$y)");
93 is($class->_acmp($y, $x), 1, "$class->_acmp(\$y, \$x)");
94 is($class->_acmp($x, $x), 0, "$class->_acmp(\$x, \$x)");
95 is($class->_acmp($y, $y), 0, "$class->_acmp(\$y, \$y)");
/openbsd/src/gnu/usr.bin/perl/cpan/Math-BigInt/t/Math/BigInt/
DScalar.pm210 sub _acmp { subroutine
/openbsd/src/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/
DBigRat.pm1205 if ($LIB->_acmp($x->{_n}, $x->{_d}) < 0) # n < d?
1227 if ($LIB->_acmp($x->{_n}, $x->{_d}) < 0) {
1868 if ($LIB -> _acmp($n, $n2) == 0) {
1871 if ($LIB -> _acmp($d, $d2) == 0) {
2181 my $cmp = $LIB->_acmp($t, $u); # signs are equal
2206 $LIB->_acmp($t, $u); # ignore signs
DBigInt.pm1674 return $LIB->_acmp($x->{value}, $y->{value});
1678 $LIB->_acmp($y->{value}, $x->{value}); # swapped acmp (lib returns 0, 1, -1)
1703 $LIB->_acmp($x->{value}, $y->{value}); # lib does only 0, 1, -1
3207 if ($LIB -> _acmp($n->{value}, $uintmax) > 0 ||
3208 $LIB -> _acmp($k->{value}, $uintmax) > 0)
DBigFloat.pm1545 $cmp = $LIB->_acmp($x->{_e}, $y->{_e});
1613 $cmp = $LIB->_acmp($ex, $ey);
1630 $cmp = $LIB->_acmp($mx, $my);
1686 $LIB->_acmp($xm, $ym);
1731 if ($LIB->_acmp($x->{_e}, $z) >= 0) {
/openbsd/src/gnu/usr.bin/perl/cpan/Math-BigInt-FastCalc/
DFastCalc.xs344 _acmp(class, cx, cy);