Boost logo

Boost Users :

Subject: Re: [Boost-users] math round() functions: away from 0
From: John Maddock (boost.regex_at_[hidden])
Date: 2010-04-14 06:41:06


>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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net