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


Fernando Cacciola

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at