# This function computes the base-10 logarithm of its argument.

log10 = function( x )
{
    return log(x) / log(10);
};


syntax highlighted by Code2HTML, v. 0.9.1