Searched refs:binc (Results 1 - 9 of 9) sorted by relevance

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigRat/t/
H A Dbig_ap.t20 my $proper_inc = $r->new('12345678901234567890/2')->binc();
96 # binc
98 $x = $proper->copy()->binc(); ok ($x,$proper_inc);
H A Dbigrat.t205 # binc/bdec
207 $x = $cr->new('3/2'); ok ($x->binc(),'5/2');
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/
H A DCalcEmu.pm35 $bx = $x->binc()->as_hex(); # -1 => 0, -2 => 1, -3 => 2 etc
48 $by = $y->copy()->binc()->as_hex(); # -1 => 0, -2 => 1, -3 => 2 etc
122 $bx = $x->binc()->as_hex(); # -1 => 0, -2 => 1, -3 => 2 etc
135 $by = $y->copy()->binc()->as_hex(); # -1 => 0, -2 => 1, -3 => 2 etc
208 $bx = $x->binc()->as_hex(); # -1 => 0, -2 => 1, -3 => 2 etc
221 $by = $y->copy()->binc()->as_hex(); # -1 => 0, -2 => 1, -3 => 2 etc
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dbigrat.pm244 print $x->binc(1), " ", $y,"\n"; # prints 10 10
H A Dbigint.pm329 print $x->binc(1), " ", $y,"\n"; # prints 10 10
H A Dbignum.pm237 perl -Mbignum -le 'print 1234->binc();'
238 perl -Mbignum -le 'print 1234->binc->badd(6);'
239 perl -Mbignum -le 'print +(1234)->binc()'
246 perl -Mbignum -le 'print 1234->binc->badd(6);'
368 print $x->binc(1), " ", $y,"\n"; # prints 10 10
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/
H A DBigInt.pm116 '++' => sub { $_[0]->binc() },
1149 sub binc subroutine
1153 return $x if $x->modify('binc');
1284 $x->binc()->bneg(); # binc already does round
1744 $x->binc(); # -3 => -2
1763 $res->binc(); # remember to increment
2623 $x->binc(); # increment $x by 1
3040 $x->binc()->bneg();
3044 =head2 binc
[all...]
H A DBigRat.pm605 #$x->{_n}->binc() if $x->{sign} eq '-'; # -22/7 => -4/1
621 # bdec/binc
652 sub binc subroutine
800 $x->{_n}->binc() if $x->{sign} eq '+'; # +22/7 => 4/1
817 $x->{_n}->binc() if $x->{sign} eq '-'; # -22/7 => -4/1
H A DBigFloat.pm654 sub binc subroutine
877 $v = $x->copy(); $v->binc(); # v = x+1
1854 $over *= $u; $below *= $factor; $factor->binc();
1929 my $z = $x->copy(); $x->bzero()->binc();
2513 $x->binc(); # increment x by 1

Completed in 48 milliseconds