Branch
Hash :
3de29e72
Author :
Date :
2019-05-28T14:23:02
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
42
3.14159
4e10
2.1e-10
0.4e+2
0xbabe
0xBABE
0x1.2
0x0.3p-3
0x0.3p4L
42f
42F
42u
42U
42l
42L
0b0101
0B0101
18446744073709550592ull
18'446'744'073'709'550'592llu
1844'6744'0737'0955'0592uLL
184467'440737'0'95505'92LLU
1'048'576
0x10'0000
0'004'000'000
1.602'176'565e-19
0b010'01010
----------------------------------------------------
[
["number", "42"],
["number", "3.14159"],
["number", "4e10"],
["number", "2.1e-10"],
["number", "0.4e+2"],
["number", "0xbabe"],
["number", "0xBABE"],
["number", "0x1.2"],
["number", "0x0.3p-3"],
["number", "0x0.3p4L"],
["number", "42f"],
["number", "42F"],
["number", "42u"],
["number", "42U"],
["number", "42l"],
["number", "42L"],
["number", "0b0101"],
["number", "0B0101"],
["number", "18446744073709550592ull"],
["number", "18'446'744'073'709'550'592llu"],
["number", "1844'6744'0737'0955'0592uLL"],
["number", "184467'440737'0'95505'92LLU"],
["number", "1'048'576"],
["number", "0x10'0000"],
["number", "0'004'000'000"],
["number", "1.602'176'565e-19"],
["number", "0b010'01010"]
]
----------------------------------------------------
Checks for binary, decimal, and hexadecimal numbers.