1
$\begingroup$

The calculators usually use $\log x,ドル while articles on wikipedia and other websites often use $\log_{10} x,ドル finally the ISO-80000-2:2009 uses $\lg x$.

Which one of these is correct? Or at least expected? If there isn't one, is any considered incorrect or discouraged?

Is the convention varied by regions perhaps?

asked Nov 29, 2017 at 8:18
$\endgroup$
2

1 Answer 1

1
$\begingroup$

Definitely not $\log(x)$. That is reserved for natural log. I would say use $\log_{10}(x)$.

Edit: This answer is more complete and correct. In computer science $\log(x)$ often means $\log_2(x)$. (Thanks also to @Qudit for mentioning this.)

answered Nov 29, 2017 at 8:20
$\endgroup$
3
  • 1
    $\begingroup$ Isn't $\mathrm{ln}$ for natural $\log$? $\endgroup$ Commented Nov 29, 2017 at 8:22
  • $\begingroup$ I thought that $\log(x)$ is too ambiguous. But saw it few times used with no explanation. $\endgroup$ Commented Nov 29, 2017 at 8:22
  • $\begingroup$ @user1561358 $\log x$ is commonly used for $\ln x$ in analysis. In theoretical computer science, $\log x$ usually means $\log_2 x$. $\endgroup$ Commented Nov 29, 2017 at 8:23

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.