Blame view

bower_components/prism/tests/languages/nasm/number_feature.test 1.33 KB
eb240478   Luigi Serra   public room cards...
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
  0xBadFace

  0x4f.ab

  0x4p2

  0x2.ap-8

  0x1p+1

  

  0hBadFace

  0h4f.ab

  0h4p2

  0h2.ap-8

  0h1p+1

  42fh

  4ab2x

  

  $4

  $2a4f

  

  0o75

  0q75

  75o

  75q

  

  0b0101

  0y0101

  0101b

  0101y

  

  0d42

  0t42

  42

  3.14159

  4.2e4

  2e-1

  3.1e+2

  42d

  3.14159d

  4.2e4d

  2e-1d

  3.1e+2d

  42t

  3.14159t

  4.2e4t

  2e-1t

  3.1e+2t

  

  ----------------------------------------------------

  

  [

  	["number", "0xBadFace"],

  	["number", "0x4f.ab"],

  	["number", "0x4p2"],

  	["number", "0x2.ap-8"],

  	["number", "0x1p+1"],

  

  	["number", "0hBadFace"],

  	["number", "0h4f.ab"],

  	["number", "0h4p2"],

  	["number", "0h2.ap-8"],

  	["number", "0h1p+1"],

  	["number", "42fh"],

  	["number", "4ab2x"],

  

  	["number", "$4"],

  	["number", "$2a4f"],

  

  	["number", "0o75"],

  	["number", "0q75"],

  	["number", "75o"],

  	["number", "75q"],

  

  	["number", "0b0101"],

  	["number", "0y0101"],

  	["number", "0101b"],

  	["number", "0101y"],

  

  	["number", "0d42"],

  	["number", "0t42"],

  	["number", "42"],

  	["number", "3.14159"],

  	["number", "4.2e4"],

  	["number", "2e-1"],

  	["number", "3.1e+2"],

  	["number", "42d"],

  	["number", "3.14159d"],

  	["number", "4.2e4d"],

  	["number", "2e-1d"],

  	["number", "3.1e+2d"],

  	["number", "42t"],

  	["number", "3.14159t"],

  	["number", "4.2e4t"],

  	["number", "2e-1t"],

  	["number", "3.1e+2t"]

  ]

  

  ----------------------------------------------------

  

  Checks for numbers.