math round() functions: away from 0

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

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.
Confirmed as a bug, fixed in this changeset in Trunk: https://svn.boost.org/trac/boost/changeset/61252/trunk Unfortunately it's probably too late to slip this into the 1.43 release now :-( Thanks for spotting that one, John.
participants (2)
-
Hicham Mouline
-
John Maddock