Searched refs:binc (Results 1 – 13 of 13) sorted by relevance
/openbsd/gnu/usr.bin/perl/cpan/Math-BigRat/t/ |
H A D | big_ap.t | 16 my $proper_inc = Math::BigRat -> new('12345678901234567890/2') -> binc(); 108 # binc 110 note "Test binc()"; 112 $x = $proper->copy()->binc(); 116 # binc
|
H A D | downgrade.t | 150 note("binc()"); 152 $x = $zero -> copy() -> binc(); 153 cmp_ok($x, "==", 1, "binc(0)"); 154 is(ref($x), "Math::BigInt", "binc(0) => Math::BigInt"); 156 $x = $four -> copy() -> binc(); 157 cmp_ok($x, "==", 5, "binc(4)"); 158 is(ref($x), "Math::BigInt", "binc(4) => Math::BigInt"); 160 $x = $inf -> copy() -> binc(); 161 cmp_ok($x, "==", "inf", "binc(Inf)"); 164 $x = $nan -> copy() -> binc(); [all …]
|
H A D | bigrat.t | 325 # binc/bdec 327 note("binc()"); 329 is($x->binc(), '5/2');
|
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/t/ |
H A D | downgrade.t | 303 note("testing binc()"); 305 $x = $zero -> copy() -> binc(); 308 cmp_ok($x, '==', 1, 'binc(0)'); 312 $x = $four -> copy() -> binc(); 315 cmp_ok($x, '==', 5, 'binc(4)'); 319 $x = $inf -> copy() -> binc(); 320 subtest '$x = $inf -> copy() -> binc();' => sub { 322 cmp_ok($x, '==', 'inf', 'binc(Inf)'); 326 $x = $nan -> copy() -> binc(); 327 subtest '$x = $nan -> copy() -> binc();' => sub { [all …]
|
H A D | upgrade.inc | 704 &binc
|
H A D | bigfltpm.inc | 1580 &binc
|
H A D | bigintpm.inc | 1598 &binc
|
/openbsd/usr.bin/vi/common/ |
H A D | mem.h | 20 if ((L__bincp = binc((sp), (lp), &(llen), (nlen))) \ 33 if ((L__bincp = binc((sp), (lp), &(llen), (nlen))) \
|
H A D | util.c | 36 binc(SCR *sp, void *bp, size_t *bsizep, size_t min) in binc() function
|
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/ |
H A D | BigFloat.pm | 168 '++' => sub { $_[0] -> binc() }, 1669 sub binc { subroutine 2949 $factorial = $factorial->binc(); 2951 $factorial = $factorial->binc(); 3047 $factorial = $factorial -> binc(); 3049 $factorial = $factorial -> binc(); 3155 $x = $x->bdiv($x->copy()->bmul($x)->binc()->bsqrt($scale + 4)->binc(), 5154 $expo = $expo -> binc(); 5195 $expo = $expo -> binc(); 5217 $expo = $expo -> binc(); [all …]
|
H A D | BigInt.pm | 177 '++' => sub { $_[0] -> binc() }, 1633 sub binc { subroutine 1641 return $upgrade -> binc($x, @r) if defined($upgrade) && !$x -> isa($class); 2983 $n = $n -> badd($m) -> binc(); 3445 $x = $x -> binc(); # -3 => -2 3461 $res = $res -> binc(); # remember to increment 3566 $x -> binc() -> bneg(@r); 4142 my $c = $expo -> copy() -> bdec() -> bmod(3) -> binc();
|
/openbsd/usr.bin/vi/include/ |
H A D | com_extern.h | 106 void *binc(SCR *, void *, size_t *, size_t);
|
/openbsd/gnu/usr.bin/perl/cpan/Math-BigRat/lib/Math/ |
H A D | BigRat.pm | 165 '++' => sub { $_[0] -> binc() }, 1186 sub binc { subroutine
|