I just fight few hours trying to implement some physics calculation.
Then, I discovered everything was wrong, just because Math.log is not about log10 but ln.
I would expect Math.ln() = ln and Math.log() = log10. But absolutly not Math.log() = ln !!!
Why did they make it so confusing ?