
12 Apr
2010
12 Apr
'10
7:16 p.m.
Hello,boost/trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding/round.html says that: Halfway cases are rounded away from zero, regardless of the current rounding direction.This is compatible with C99 TC3 and therefore the latest C++1x draft.However, when I ran this program:#include <cmath>#include <iostream>#include