Liviu Daia, 03 Mar 2015 19:26: > > 'lg' is also a valid name > > (altough i admit i didn't know, i was used to log2) > > https://en.wikipedia.org/wiki/Logarithm#Particular_bases > > > > as Tedu pointed out lg = log2 and lg != log > > Actually, that isn't what Tedu said, and it isn't the generally > accepted convention. The usual convention is:
my mistake. > * log = ln = log_e > * lg = log_10 > > As somebody else points out, they differ from each other by > multiplicative constants, so either are correct for O-notation. > > (Full disclosure: I'm a mathematician. :)) yes, these are the "ISO notations" from that wikipedia page. that "Other notations" for binary are quite liberal (ld, log, log2, lg) if all "is the same", then i find 'log' the most readable in a man page. -f -- all computers wait at the same speed.
