Boost logo

Boost Users :

From: Christian Henning (chhenning_at_[hidden])
Date: 2007-04-29 20:21:37


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