Original Post
Hi, I organized my code to later be able to select my prefered type (float or double) by using a "#define real float". Now if I call a function f taking as argument a "real" like: f(realValue*1.28); The compiler gives me a warning "warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data". However if my real is defined as double, I don't get any warnings. How would you go about removing warnings for both configurations of real (float or double)? (I could write "f(realValue*1.28f)" but thenmy constant gets rounded to a float constant...) Thanks :)