[Swift-devel] Standard Library Proposal/Discussion Page

Mihael Hategan hategan at mcs.anl.gov
Wed Jan 21 13:09:09 CST 2015


On Wed, 2015-01-21 at 12:22 -0600, Tim Armstrong wrote:
> RE: log/ln/log10
> 
> I think this is pretty varied.  I've seen contexts where log() meant either
> log_e, log_2, or log_10.
> 
> The completely unambiguous way would be to have ln(x), log(x, base) and
> optionally log10(x)

I like that. +1

Mihael




More information about the Swift-devel mailing list