Hello, Your privacy is important to us. On May 24, 2018, we published an updated Privacy Statement. Please read these updated terms. We use cookies to create the most secure and effective website possible. By using this site, you consent to the use of cookies. Full details in our Privacy Statement.

FAQ #101238

The Saia PCD® instruction set does support the natural logarithm Ln (hyperbolic, base e, floating point instruction FLN). Logarithms to any other base like 10 (Log10) can be calculated with the method described below.

The Ln of x can be divided by the Ln of the desired base: Log n (x) = Ln(x) / Ln(n)

Example in case the logarithm with the base 10 is needed:

Log10(x) = Ln(x) / Ln(10)

The value of Ln(10) (=2.302585093) can be stored in a constant or variable so it does not need to be recalculated each time a Log10 is required.

The requested software / document is no longer marketed by Saia-Burgess Controls AG and without technical support. It is an older software version which can be operated only on certain now no longer commercially available products.