Home
last modified time | relevance | path

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

/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/BigInt/
H A DLib.pm333 if $class -> _is_zero($y);
456 sub _is_zero { subroutine
510 if $class -> _is_zero($y);
544 if ($class -> _is_zero($y)) {
554 if ($class -> _is_zero($x)) {
1173 until ($class -> _is_zero($xc) || $class -> _is_zero($yc)) {
1198 until ($class -> _is_zero($xc) || $class -> _is_zero($yc)) {
1232 until ($class -> _is_zero($xc) || $class -> _is_zero($yc)) {
1256 if $class -> _is_zero($x) || $class -> _is_zero($y);
1341 if $class -> _is_zero($x) && $class -> _is_zero($y);
[all …]
H A DCalc.pm1047 sub _is_zero { subroutine
1218 return $x if $c->_is_zero($x) || $c->_is_zero($n);
1266 return $x if $c->_is_zero($x) || $c->_is_zero($n);
1386 if ($c->_is_zero($k)) {
2183 until ($c->_is_zero($x1) || $c->_is_zero($y1)) {
2209 until ($c->_is_zero($x1) || $c->_is_zero($y1)) {
2244 until ($c->_is_zero($x1) || $c->_is_zero($y1)) {
2406 if ($c->_is_zero($y)) {
2426 last if $c->_is_zero($b);
2455 if ($c->_is_zero($num)) {
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/t/
H A Dbigints.t49 is($class->_is_zero($x), 0, "$class->_is_zero($x)");
56 is($class->_is_zero($class->_zero()), 1,
57 "$class->_is_zero($class->_zero())");
58 is($class->_is_zero($class->_one()), 0,
59 "$class->_is_zero($class->_one())");
H A Dbigintc.t92 ok(! $LIB->_is_zero($x), qq|$LIB->_is_zero(\$x)|);
113 ok( $LIB->_is_zero($LIB->_zero()), qq|$LIB->_is_zero($LIB->_zero()) is true|);
114 ok(! $LIB->_is_zero($LIB->_one()), qq/$LIB->_is_zero($LIB->_one()) is false/);
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/
H A DBigFloat.pm1447 $LIB->_is_zero($x->{_e}) &&
1456 ($LIB->_is_zero($x->{_e})) &&
1744 if ($LIB->_is_zero($x->{_m})) {
1776 if (!$LIB->_is_zero($x->{_e})) {
1819 if (!$LIB->_is_zero($x->{_e})) {
2068 } elsif (!$LIB->_is_zero($e)) # > 0
3927 if (! $LIB->_is_zero($x->{_e})) {
3962 if (! $LIB->_is_zero($x->{_e})) {
4647 return 1 if $LIB->_is_zero($x->{_m});
5196 unless ($LIB -> _is_zero($mod)) {
[all …]
H A DBigInt.pm1540 $LIB->_is_zero($x->{value});
1789 unless $x->{sign} eq '+' && $LIB->_is_zero($x->{value});
1881 if ($LIB->_is_zero($x->{value})) { # +1 - 1 => +0
2086 $x->{sign} = '+' if $LIB->_is_zero($x->{value}); # no -0
2369 if ($LIB -> _is_zero($rem -> {value})) {
2392 unless ($LIB -> _is_zero($rem -> {value})) {
2598 if ($LIB -> _is_zero($x -> {value})) {
2654 $x -> {sign} = '+' if $LIB -> _is_zero($x -> {value});
2790 unless ($LIB->_is_zero($value)) {
4120 $p = $LIB -> _inc($p) unless $LIB -> _is_zero($q);
[all …]
H A DBigRat.pm810 if ($LIB->_is_zero($x->{_n})) {
845 unless ($x->{sign} eq '+' && $LIB->_is_zero($x->{_n}));
1269 return 1 if $x->{sign} eq '+' && $LIB->_is_zero($x->{_n});
1421 $x->{sign} = '+' if $x->{sign} eq '-' && $LIB->_is_zero($x->{_n}); # -0 => 0
1455 $x->{sign} = '+' if $x->{sign} eq '-' && $LIB -> _is_zero($x->{_n});
2172 my $xz = $LIB->_is_zero($x->{_n});
2173 my $yz = $LIB->_is_zero($y->{_n});
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/t/Math/BigInt/
H A DScalar.pm231 sub _is_zero { subroutine
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt-FastCalc/t/
H A Dleak.t36 for my $method (qw(_is_zero _is_one _is_two _is_ten _num))
H A Dbigintfc.t92 ok(! $LIB->_is_zero($x), qq|$LIB->_is_zero(\$x)|);
113 ok( $LIB->_is_zero($LIB->_zero()), qq|$LIB->_is_zero($LIB->_zero()) is true|);
114 ok(! $LIB->_is_zero($LIB->_one()), qq/$LIB->_is_zero($LIB->_one()) is false/);
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt-FastCalc/
H A DFastCalc.xs300 _is_zero(class, x)