Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llLogarithm()

Pedro Pendragon
Registered User
Join date: 15 Jan 2004
Posts: 77
02-11-2004 08:17
Could we get a logarithm math function? This would be really nice, and I suspect fairly trivial to implement.
A general case like:
float llLogarithm(float base, float value)
would be nice, but i'd be happy even with a permanently base-10 or base-e version.
Xylor Baysklef
Scripting Addict
Join date: 4 May 2003
Posts: 109
02-11-2004 13:24
A natural log (llLn) function would suffice. Could convert to other bases easily, just divide your answer by llLn(base).

Xylor