HP C A.06.05 Reference Manual

Expressions and Operators
Floating-Point Expressions
Chapter 5 141
Floating-Point Expressions
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