Signatures (II)

sub logarithm($num, $base = 2.7183) {
    return log($num) / log($base)
}
say logarithm(4);       # default base
say logarithm(4, 2);

« first < prev (12 / 41) next > last »