Searched defs:as_number (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/
H A DBigFloat.pm31 'int' => sub { $_[0]->as_number() }, # 'trunc' to bigint
129 $self->{_m} = $wanted->as_number()->{value}; # get us a bigint copy
804 $int->blog($base->as_number());
806 if ($base->as_number()->bpow($int) == $x)
1549 $int->broot($y->as_number());
1901 my $y1 = $y->as_number()->{value}; # make CALC
2423 sub as_number subroutine
2736 The C<as_number()> function returns a BigInt from a Math::BigFloat. It uses
2743 C<as_number()>:
2746 $y = $x->as_number('od
[all...]
H A DBigRat.pm933 return $self->new($x->as_number()->blog($y->as_number(),@r));
963 return $self->new($x->as_number()->broot($y->as_number(),@r));
987 return $self->new($x->as_number()->bmodpow($y->as_number(),$m,@r));
1010 return $self->new($x->as_number()->bmodinv($y->as_number(),@r));
1050 $x->{_n} = $x->{_n}->as_number() unless $x->{_n}->isa($MBI);
1051 $x->{_d} = $x->{_d}->as_number() unles
1178 sub as_number subroutine
[all...]
H A DBigInt.pm178 *as_int = \&as_number;
2173 sub as_number subroutine
2272 $k->can('as_number') ? $k = $k->as_number() : $k = $a[0]->new($k);
2290 $k->can('as_number') ? $k = $k->as_number() : $k = $a[0]->new($k);
3214 C<as_number()> is an alias to this method. C<as_number> was introduced in
3995 In all Perl versions you can use C<as_number()> for the same effect:
3998 $y = $x->as_number(); # BigIn
[all...]

Completed in 2826 milliseconds