27 #ifndef _ODROUND_INCLUDED_
28 #define _ODROUND_INCLUDED_
35 double aFloor = ::floor(a);
47 if (a >
double(LONG_MAX))
48 throw OdError(eArithmeticOverflow);
54 if (a <
double(LONG_MIN))
55 throw OdError(eArithmeticOverflow);
65 if (a >
double(LONG_MAX))
73 if (a <
double(LONG_MIN))
long OdRoundToLong(double a)
long OdTruncateToLong(double a)