Boost logo

Boost Users :

From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2005-05-02 09:44:09


"Vyacheslav E. Andrejev" <vandrejev_at_[hidden]> escribió en el
mensaje news:32064632505492929218750_at_news.gmane.org...
> Hello All
>
> I tried to use boost numeric conversion library and faced with strange
> feature of RoundEven that I can not comprehend or find expanation in the
> documentation. First I thought that this policy rounds float number to
> nearest integer, because RoundEven::round_style::value ==
> std::round_to_nearest. But! This policy for example returns 2.0 for 3.0 as
> argument!
>
It is a bug... sorry about that.
Fixed in CVS (HEAD)
Thank you for the report.

Best

Fernando Cacciola
SciSoft


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