Math387::CeilToInt Function

int CeilToInt(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