> But, my interpretation (possibly wrongly) of the (unqualified) value 0.5 > is that the compiler should treat it as a double, whereas 0.5f is a > float.
Sorry Ian, I see no problem. I think you are mixing up type of variable with exact value given by programmer. double d; .... float f = d; // Of course, this code generates warning - in general case it's impossible to convert from "double" to "single" without loss of precision. But when we point _definite_ value: float f = 0.5; the compiler makes needed conversion.Here we have no variable of type "double", understand? Do you mean "0.5" as "one half"? You've got it! In fact, it's singular case :) -- Best Regards Nikita Egorov _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk