Math387::Ceil Function

Overload List

#SignatureDescription
1double Ceil(const double X);Round towards positive infinity.
2TCplx Ceil(const TCplx &X);Round towards positive infinity.
3TSCplx Ceil(const TSCplx &X);

Overload 1: double Ceil(const double X);

Round towards positive infinity.

#NameTypeDescription
1Xconst double

Returns: the smallest integer rounded real greater than or equal to X. Ceil(-2.8) = -2 Ceil(2.8) = 3 Ceil(-1.0) = -1

See Also: Math387::Floor
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler

Overload 2: TCplx Ceil(const TCplx &X);

Round towards positive infinity.

#NameTypeDescription
1Xconst TCplx &
Remarks:

Real and imaginary part are handled independently.

Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler

Overload 3: TSCplx Ceil(const TSCplx &X);

#NameTypeDescription
1Xconst TSCplx &
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler