c.lang: number improvements
A few changes to the C language definition:
- exponent digits are mandatory (
1.2ef
is not valid) - support hexadecimal floating constants like
0xA.Bp0f
,0x.Bp0f
,0xA.p0f
, or0xAp0f
support binary constants (0b1000
). They have been supported in C++ since C++14 and will probably be added to C in C23
Edited by eyelash