It depends on what you do with the numbers. A floating point literal type with f or f is of type float . A floating point literal type without a suffix is ββof type double . As a result, there may be slight differences when using the suffix f compared to not using it.
As long as the subexpression includes at least one floating-point type object, this probably doesn't matter much. It is more important to use suffixes with integers, which should be interpreted as floating points. If there is no floating point value in the subexpression, integer arithmetic is used. This can have serious consequences, because the result will be whole.
source share