Mathematical functions - logarithmic
e()
e()
returns the base of the natural logarithm, e
.
Syntax: e()
Returns:
A Float. |
RETURN e()
The base of the natural logarithm, e
, is returned.
e() |
---|
|
1 row |
exp()
exp()
returns e^n
, where e
is the base of the natural logarithm, and n
is the value of the argument expression.
Syntax: e(expression)
Returns:
A Float. |
Arguments:
Name | Description |
---|---|
|
A numeric expression. |
Considerations:
|
RETURN exp(2)
e
to the power of 2
is returned.
exp(2) |
---|
|
1 row |
log()
log()
returns the natural logarithm of a number.
Syntax: log(expression)
Returns:
A Float. |
Arguments:
Name | Description |
---|---|
|
A numeric expression. |
Considerations:
|
|
RETURN log(27)
The natural logarithm of 27
is returned.
log(27) |
---|
|
1 row |
log10()
log10()
returns the common logarithm (base 10) of a number.
Syntax: log10(expression)
Returns:
A Float. |
Arguments:
Name | Description |
---|---|
|
A numeric expression. |
Considerations:
|
|
RETURN log10(27)
The common logarithm of 27
is returned.
log10(27) |
---|
|
1 row |
sqrt()
sqrt()
returns the square root of a number.
Syntax: sqrt(expression)
Returns:
A Float. |
Arguments:
Name | Description |
---|---|
|
A numeric expression. |
Considerations:
|
|
RETURN sqrt(256)
The square root of 256
is returned.
sqrt(256) |
---|
|
1 row |