Math387.Floor / Floorf Method

Overload List

#SignatureDescription
1function Floor(const X: TCplx): TCplx; overload;Round towards negative infinity.
2function Floor(const X: TSCplx): TSCplx; overload;
3function Floor(const X: double): double; overload;Round towards negative infinity.
4function Floorf(const X: single): single; overload;

Overload 1: function Floor(const X: TCplx): TCplx; overload;

Round towards negative infinity.

#NameTypeDescription
1XTCplxscalar

Returns: TCplx (complex)

Remarks:

Real and imaginary part are handled independently.

Overload 2: function Floor(const X: TSCplx): TSCplx; overload;

#NameTypeDescription
1XTSCplxscalar

Returns: TSCplx

Overload 3: function Floor(const X: double): double; overload;

Round towards negative infinity.

#NameTypeDescription
1Xdoublescalar

Returns: double - the biggest integer rounded real less than or equal to X. Floor(-2.8) = -3 Floor(2.8) = 2 Floor(-1.0) = -1

See Also: Math387.Ceil, Math387.Ceil, Math387.Ceil

Overload 4: function Floorf(const X: single): single; overload;

#NameTypeDescription
1Xsinglescalar

Returns: single