Operator Reference
tuple_log2 (Operator)
tuple_log2
— Compute the base 2 logarithm of a tuple.
Signature
Description
tuple_log2
computes the base 2 logarithm of the input
tuple T
. The logarithm is always returned as a floating
point number. The logarithm of a string is not allowed.
Exception: Empty input tuple
If the input tuple is empty, the operator returns an empty tuple.
HDevelop In-line Operation
HDevelop provides an in-line operation for tuple_log2
,
which can be used in an expression in the following syntax:
Log := log2(T)
Execution Information
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
T
(input_control) number(-array) →
(real / integer)
Input tuple.
Restriction:
T > 0
Log
(output_control) number(-array) →
(real)
Base 2 logarithm of the input tuple.
Alternatives
See also
tuple_exp
,
tuple_exp2
,
tuple_exp10
,
tuple_pow
Module
Foundation