1.5 Integer Constant

Decimal numbers may have an optional leading plus, minus, or not sign followed by a decimal digit and additional digits or underscores. They cannot have leading or trailing underscores.


Hexadecimal, octal, or binary numbers have an optional sign, a prefix indication the radix, and is followed by digits corresponding to the radix and underscores. They may not have trailing underscores.

Primitive Type

Real Constant