Why not use natural log anyway?In Perl, the log function does return the natural log. However, it is a property of logarithms that the logarithms of the same number in a different base differ only by a constant multiplicitave constant. That is to say that loga(x) = logb(x)/logb(a). So if one person used their favorite base and you have a different favorite base, you need only scale their answer by a factor of logyours(theirs).
thor
Feel the white light, the light within
Be your own disciple, fan the sparks of will
For all of us waiting, your kingdom will come
In reply to Re^2: Stirling Approx to N! for large Number?
by thor
in thread Stirling Approx to N! for large Number?
by monkfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |