Floating-point expressions are expressions that, after all automatic and explicit type conversions, produce a result that has one of the floating-point types. If x is a float or double, the following are floating-point expressions:
x
x + 3
x / y * 5
3.0
3.0 - 2
3 + (float) 4