A normal log means base 10 logarithm or example log10 x but a natural log is a base e algorithm for example loge x or ln x. Log to the base e Eulers number which is about 271828 of the parameter value numeric expression passed to it. GetMaxOfArray1 2 3 is equivalent to Mathmax1 2 3 but you can use getMaxOfArray on programmatically.
1 2 3 4 5 6 7 8 9 10 11 12 log example include printf include log int main double param result.
SystemoutformatLogarithmic Value of Array Element 4fn MathloglogArrayi. Log to the base e Eulers number which is about 271828 of the parameter value numeric expression passed to it. The function accepts both real and complex inputs. This JavaScript tutorial explains how to use the math function called log2 with syntax and examples.