Math387.Floor / Floorf Method

Overload List

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

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

Round towards negative infinity.

#NameTypeDescription
1XTCplx

Returns: TCplx (complex)

Remarks:

Real and imaginary part are handled independently.

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

#NameTypeDescription
1XTSCplx

Returns: TSCplx

Overload 3: function Floor(const X: Double): Double;

Round towards negative infinity.

#NameTypeDescription
1XDouble

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

Overload 4: function Floorf(const X: Single): Single;

#NameTypeDescription
1XSingle

Returns: Single