Lines Matching defs:bpow
63 '**' => sub { $_[2] ? ref($_[0]) -> new($_[1]) -> bpow($_[0])
64 : $_[0] -> copy() -> bpow($_[1]); },
84 '**=' => sub { $_[0] -> bpow($_[1]); },
2846 sub bpow {
2856 return $x if $x -> modify('bpow');
2898 return $upgrade -> bpow($x, $y, @r) if defined $upgrade;
3836 $x = $x -> bmul($b -> bpow($y));
3997 $x = $x -> bdiv($b -> bpow($y));
6609 $x->bpow($y); # power of arguments (x ** y)
7530 =item bpow()
7532 $x->bpow($y); # power of arguments (x ** y)
7534 C<bpow()> (and the rounding functions) now modifies the first argument and
7539 print bpow($x,$i),"\n"; # modify $x
7540 print $x->bpow($i),"\n"; # ditto
7841 $x -> bdiv($b -> copy() -> bpow($n));
7852 $x -> bmul($b -> copy() -> bpow($n));
7878 $y = $x -> bdiv(ref($x) -> new(2) -> bpow($n)); # if $n > 0
7879 $y = $x -> bmul(ref($x) -> new(2) -> bpow(-$n)); # if $n < 0
7895 $y = $x -> bmul(ref($x) -> new(2) -> bpow($n)); # if $n > 0
7896 $y = $x -> bdiv(ref($x) -> new(2) -> bpow($n)); # if $n < 0