I came across this line in some code and can't find the syntax defined anywhere:
*(float *)csCoord.nX = lImportHeight* .04f; /* magic number to scale font size */
If I remove the f
from .04f
then the compiler gives a warning about possible data loss due to a conversion from 'double' to 'float'. I assume the f
is doing some sort of typecasting.
Has anyone seen this before? Where is this defined in the C standard?