I thought it was common programming knowledge that ln(x) is log(x), and log(x) is log10(x).
As an EE, I use both frequently. Seems a lot of errors could be avoided by just comparing your code to a simple hand calculation. I suppose few do that these days.