- or download this
use bugnum;
say log(0.5);
- or download this
...
...
$x->bclog2(); # log2($x) rounded up to nearest int
$x->bclog10(); # log19($x) rounded up to nearest int
...
- or download this
tab@music4:~/Pianoforte/Perlmonks 21:54:45 $ cat !$
cat 11156670.pl
...
tab@music4:~/Pianoforte/Perlmonks 21:54:51 $ ./11156670.pl
Log of .5 is -0.693147180559945
tab@music4:~/Pianoforte/Perlmonks 21:54:57 $