ChaosPro Home
Introduction
What's New
Palettes
Using Formulas
Layering in ChaosPro
Rendering
Fractal Parameter Windows
Windows
Menu
3D Transformations
Animations
Formula Compiler
Writing Formulas
Language Reference
Introduction
Basic Syntax
Datatypes
Constants
Variables
Expressions
Operators
Functions
Arithmetic
Conversion
Color
Trigonometric
sin
cos
sincos
tan
cotan
sinh
cosh
tanh
cotanh
asin
acos
atan
acot
asinh
acosh
atanh
acoth
exp
ln
log
log10
atan2
arg
cosxx
Miscellaneous
Control Structures
Compiler Directives
Functions
Interface to ChaosPro
Special Features, Notes...
Compatibility
Fractal Type Reference
Tutorials
Appendix
CHAOSPRO 4.0
Release 4.0
.

Predefined Functions - log10

Function name:log10 - Logarithm (base 10)
Synopsis:log10(x)

Input data type Output data type
real real
complex complex
quaternion unsupported


Description:

ChaosPro automatically detects the input data type.

The logarithm of a complex number is not uniquely defined. Mathematically the logarithm of a complex number has an unlimited number of solutions. The solution calculated in ChaosPro is the main branch of the logarithm.

In order to calculate log10(x) (x = any real number) ChaosPro performs the following calculation:

log10(x) = ln(x)/ln(10)

In order to calculate log10(z) (z = any complex number) ChaosPro performs the following calculation:

log10(z) = 0.5*(log10(x^2+y^2))+i*arctan(y/x)

For the definition of ln(x) and arctan(x) see: