number_feature.test
788 Bytes
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
42
42_000
42L
42U
42UL
3.14_15_9
3.2e8
0.4e-7
62.14e+4
0xBAD_FACE
0xFFU
0xfaL
0x42UL
0x2.AFp4
0xFp-3
0xFBp+9
0b0000_1111
6.3i
6.3fi
6.3Li
----------------------------------------------------
[
["number", "42"],
["number", "42_000"],
["number", "42L"],
["number", "42U"],
["number", "42UL"],
["number", "3.14_15_9"],
["number", "3.2e8"],
["number", "0.4e-7"],
["number", "62.14e+4"],
["number", "0xBAD_FACE"],
["number", "0xFFU"],
["number", "0xfaL"],
["number", "0x42UL"],
["number", "0x2.AFp4"],
["number", "0xFp-3"],
["number", "0xFBp+9"],
["number", "0b0000_1111"],
["number", "6.3i"],
["number", "6.3fi"],
["number", "6.3Li"]
]
----------------------------------------------------
Checks for numbers.