P
Patrick Guio
Dear all,
Are round-to-nearer-integer type C functions (like
round, lround, rint, etc...) defined in the std namespace when including
<cmath>?
If not would "static_cast<int>(x+0.5)" do a good solution as a
replacement for rint(x) ?
Sincerely, Patrick
Are round-to-nearer-integer type C functions (like
round, lround, rint, etc...) defined in the std namespace when including
<cmath>?
If not would "static_cast<int>(x+0.5)" do a good solution as a
replacement for rint(x) ?
Sincerely, Patrick