|
Boost Users : |
From: Christian Henning (chhenning_at_[hidden])
Date: 2007-05-04 23:17:17
I sent this a week ago. Does anybody know?
On 4/29/07, Christian Henning <chhenning_at_[hidden]> wrote:
> Hi there, what's the difference between the following two lines?
>
> float red_1 = channel_convert< bits32f >( 1.f );
> float red_2 = channel_convert< bits32f >( (bits32f) 1.f );
>
> The first gives me garbage whereas the second gives the correct result.
>
> Regards,
> Christian
>
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