On 4/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> log10 is not implemented, only the natural logarithm is.
> is there a replacement for log10?

You can use mathematical properties to get what you want with only
natural logarithm.

Log x = Ln X / Ln 10

Where Log has base 10 and Ln has base e

Or you can implement Log10 function yourself. This is a pretty basic
part of Numerical Calculus.

I think you can find methods for this on google and wikipedia. The
method to calculate it is probably the expansion of a series.

Maybe we can even create a log10 function that simply calculates Ln X
/ Ln 10 ? This is a little ugly, but surely quick to implement.

--
Felipe Monteiro de Carvalho

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to