What does the "f" stand for in this code?


One thing I’ve wondered in the back of my mind is what does the “f” mean and why is it used in code such as this:

const float radius = jmin (width / 2, height / 2) - 4.0f;



It tells the compiler to generate the 4.0 as a float (rather than a double).