2 May
2005
2 May
'05
2:44 p.m.
"Vyacheslav E. Andrejev"
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