Searched refs:_pow (Results 1 - 6 of 6) sorted by relevance
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/ |
H A D | bigints.t | 109 # _pow 110 $x = $C->_new("2"); $y = $C->_new("4"); ok ($C->_str( $C->_pow($x,$y)),16); 111 $x = $C->_new("2"); $y = $C->_new("5"); ok ($C->_str( $C->_pow($x,$y)),32); 112 $x = $C->_new("3"); $y = $C->_new("3"); ok ($C->_str( $C->_pow($x,$y)),27);
|
H A D | bigintc.t | 230 # _pow (and _root) 232 ok ($C->_str($C->_pow($x,$n)), 0); 234 ok ($C->_str($C->_pow($x,$n)), 1); 236 ok ($C->_str($C->_pow($x,$n)), 1); 238 ok ($C->_str($C->_pow($x,$n)), 5); 241 ok ($C->_str($C->_pow($x,$n)),81 ** 3); 246 ok ($C->_str($C->_pow($x,$n)),81 ** 3); 247 ok ($C->_str($C->_pow($x,$n)),'150094635296999121'); # 531441 ** 3 == 253 ok ($C->_str($C->_pow($x,$n)),'523347633027360537213511521'); 270 print "# _pow( ", ' [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/lib/Math/BigInt/ |
H A D | Scalar.pm | 193 sub _pow subroutine
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/ |
H A D | Calc.pm | 1171 $n = _new($c,$n); return _div($c,$x, _pow($c,$n,$y)); 1219 $n = _new($c,$n); return _mul($c,$x, _pow($c,$n,$y)); 1247 sub _pow subroutine 1406 $trial = _pow ($c, _copy($c, $base), $x); 1598 while (_acmp($c, _pow($c, _copy($c, $trial), $n), $x) < 0) 1605 if (_acmp($c, _pow($c, _copy($c, $trial), $n), $x) == 0) 1621 while (_acmp($c, _pow($c, _copy($c, $trial), $n), $x) < 0) 1627 if (_acmp($c, _pow($c, _copy($c, $trial), $n), $x) > 0) 1634 if (_acmp($c, _pow($c, _copy($c, $trial), $n), $x) > 0) 2064 _pow(ob [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/ |
H A D | BigFloat.pm | 1779 sub _pow subroutine 1899 return $x->_pow($y,$a,$p,$r) if !$y->is_int(); # non-integer power 1921 $x->{_m} = $MBI->_pow( $x->{_m}, $y1);
|
H A D | BigInt.pm | 1684 $x->{value} = $CALC->_pow($x->{value},$y->{value});
|
Completed in 59 milliseconds