A floating-point constant is a C literal representing a floating-point value. Its notation may use a decimal point or exponent, and its suffix selects float, double, or long double. section 5.3
Three types, two notations
The literals 0.2F, 0.2, and 0.2L have types float, double, and long double. The hexadecimal forms 0x1.99999AP-3F, 0x1.999999999999AP-3, and 0xC.CCCCCCCCCCCCCCDP-6L express corresponding floating-point values with the same suffix pattern.
Read floating-point constants by separating notation from surrounding operators:
- A leading minus is the negation operator, not part of the numerical literal; the minus sign in an exponent is part of the floating-point notation. section 5.3
