Operator Reference
tuple_is_nan_elem (Operator)
tuple_is_nan_elem
— Check a tuple whether it represents NaNs (Not-a-number).
Signature
Description
tuple_is_nan_elem
checks each element of the input tuple
T
whether it represents a NaN. If it does, 1 is
returned for that element, otherwise 0.
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_is_nan_elem
,
which can be used in an expression in the following syntax:
IsNaN := is_nan_elem(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) tuple(-array) →
(real / integer)
Input tuple.
IsNaN
(output_control) number →
(integer)
Tuple with Boolean numbers.
Alternatives
tuple_type
,
tuple_is_number
,
tuple_sem_type
See also
tuple_is_int
,
tuple_is_real
,
tuple_is_string
Module
Foundation