$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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
>