Lines Matching defs:blog
186 'log' => sub { $_[0] -> copy() -> blog(); },
235 # some digits of accuracy for blog(undef, 10); which we use in blog() for speed
2574 sub blog {
2582 # $x->blog() or $x->blog(undef) signals that the base is Euler's number =
2586 # E.g., Math::BigFloat->blog(256, 2)
2590 # E.g., $x->blog(2) or the deprecated Math::BigFloat::blog(256, 2)
2595 return $x if $x->modify('blog');
2614 return $upgrade -> blog($x, $base, @r) if defined $upgrade;
2624 return $upgrade -> blog($x, $base, @r) if defined $upgrade;
5886 # Taking blog() from numbers greater than 10 takes a *very long* time, so we
5888 # blog(X*Y) = blog(X) + blog(Y)
5900 # blog(2.4 * 2) == blog(1.2) + blog(2)
5901 # and thus calculate only blog(1.2) and blog(2), which is faster in total
5902 # than calculating blog(2.4).
5904 # In addition, the values for blog(2) and blog(10) are cached.
6155 $u = $x->copy()->blog(undef, $scale)->bmul($y);
6333 $x->blog(); # logarithm of $x to base e (Euler's number)
6334 $x->blog($base); # logarithm of $x to base $base (e.g., base 2)