Dave Anderson wrote on 04 nov 2004 in
microsoft.public.inetserver.asp.general:
I should clarify. The last response was meant to be tongue-in-cheek,
but perhaps more like kidding on the square. ln(10) is a constant in
the mathematical sense, and frequently in the *implementation* sense,
as in the JScript example I provided.
But any way you look at it, it is precisely the ratio of ln(x) to
log(x), when log(x) uses a base of 10. And in that context -- the
whole point of this diversion -- a fixed value is no different from a
constant. You cannot pretend that log(x) differs from ln(x) in any way
but a constant scalar.
Oh yes, I do pretend it is not a constant in the computer programming
language sense, even the way you write it is different. [The proof of
that I can is in this last sentense]
ln(10) is a constant in the mathematical sense
Certainly not, only the resulting value is constant.
There is a difference between a constant and a variable having a constant
value.
While you could say, a variable is always a constant, I would disagree,
as much as a function is not a constant.
A variable has a constant value AS LONG AS the value is not changed.
A constant has a constant value, that is not allowed to be changed after
creation.
A function is always a function OF something, where the something is able
to change the function.
A tongue in cheek is a joy forever, but if you realy keep it constant, it
could turn out to cause a pain in the neck.