Skip to content

tuple_floorTupleFloorTupleFloortuple_floortuple_floor🔗

Short description🔗

tuple_floorTupleFloorTupleFloortuple_floortuple_floor — Compute the floor function of a tuple.

Signature🔗

tuple_floor( number T, out number Floor )void TupleFloor( const HTuple& T, HTuple* Floor )static void HOperatorSet.TupleFloor( HTuple t, out HTuple floor )def tuple_floor( t: MaybeSequence[Union[float, int]] ) -> Sequence[float]

def tuple_floor_s( t: MaybeSequence[Union[float, int]] ) -> floatHerror tuple_floor( double T, double* Floor )

Herror T_tuple_floor( const Htuple T, Htuple* Floor )

HTuple HTuple::TupleFloor( ) const

HTuple HTuple.TupleFloor( )

Description🔗

tuple_floorTupleFloor computes the floor function of the input tuple Ttt, i.e., the largest integer less than or equal to Ttt. The floor function is always returned as a floating point number. The floor function 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_floorTupleFloor, which can be used in an expression in the following syntax:

Floor := floor(T)

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

Parameters🔗

Ttt (input_control) number(-array) → (real / integer)HTuple (double / Hlong)HTuple (double / int / long)MaybeSequence[Union[float, int]]Htuple (double / Hlong)

Input tuple.

Floorfloorfloor (output_control) number(-array) → (real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

Floor function of the input tuple.

Combinations with other operators🔗

Combinations

Alternatives

tuple_ceilTupleCeil

Module🔗

Foundation