|
Boost : |
From: helmut.zeisel_at_[hidden]
Date: 2001-11-03 18:24:37
--- In boost_at_y..., "Fernando Cacciola" <fcacciola_at_g...> wrote:
> Hi,
>
> I uploaded a new version of the improved numeric_cast<>.
>
> http://groups.yahoo.com/group/boost/files/improved_numeric_cast
>
> It now works with bc5.5.1 and gcc2.95.2+
>
> I also uploaded the individual files along with the .zip archive.
>
> I'll appreciate any comments...
>
Here is one more comment from me:
I get the impression that you changed the default
behavior to rounding instead of truncating;
i.e. numeric_cast<int>(5.7) == 6.
I am not sure what the best choice for the
default behavior should be,
but I definitely need truncating.
Is there a simple way to obtain truncating?
Helmut
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk