Searched refs:blog (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/
H A Dbiglog.t3 # Test blog function (and bpow, since it uses blog).
11 # it at all (which did lead to wrong answers for 0 < $x < 1 in blog() in
48 # These tests are now really fast, since they collapse to blog(10), basically
52 ok ($cl->new(-2)->blog(), 'NaN');
53 ok ($cl->new(-1)->blog(), 'NaN');
54 ok ($cl->new(-10)->blog(), 'NaN');
55 ok ($cl->new(-2,2)->blog(), 'NaN');
57 my $ten = $cl->new(10)->blog();
60 ok ($cl->new(10)->blog(), '2.30258509299404568401799145468436420760
[all...]
H A Dmbimbf.t100 $x = $x->blog(Math::BigInt->new(10));
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigRat/t/
H A Dbigrat.t268 ok ($x->copy()->blog(2), '8000563442710106079310294693803606983661/1000000000000000000000000000000000000000');
269 ok (ref($x->copy()->blog(2)), $cr);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/
H A DBigRat.pm914 sub blog subroutine
925 # blog(1,Y) => 0
933 return $self->new($x->as_number()->blog($y->as_number(),@r));
937 $x->_new_from_float( $x->_as_float()->blog(Math::BigFloat->new("$y"),@r) );
1412 =head2 blog()
1550 =item bmod(), blog(), bmodinv() and bmodpow() (partial)
H A DBigFloat.pm62 # some digits of accuracy for blog(undef,10); which we use in blog() for speed
727 sub blog subroutine
804 $int->blog($base->as_number());
827 $x->bdiv( $base->copy()->blog(undef,$scale), $scale );
935 # taking blog() from numbers greater than 10 takes a *very long* time, so we
937 # blog(x*y) = blog(x) + blog(y)
1027 $l_10 = $self->new(10)->blog(unde
[all...]
H A DBigInt.pm75 'log' => sub { $_[0]->copy()->blog($_[1]); },
1202 sub blog subroutine
1215 return $x if $x->modify('blog');
1221 return $upgrade->blog($upgrade->new($x),$base,@r) if
3887 =item blog()

Completed in 42 milliseconds