Blame view

bower_components/prism/tests/languages/verilog/number_feature.test 556 Bytes
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
  #1

  ##42

  

  'h 12

  6'h 12

  8'B0010_1010

  123

  8'o 77

  'h x

  16'h ????

  

  3.14159

  4e8

  3.2E-14

  0.7e+8

  

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

  

  [

  	["number", "#1"],

  	["number", "##42"],

  

  	["number", "'h 12"],

  	["number", "6'h 12"],

  	["number", "8'B0010_1010"],

  	["number", "123"],

  	["number", "8'o 77"],

  	["number", "'h x"],

  	["number", "16'h ????"],

  

  	["number", "3.14159"],

  	["number", "4e8"],

  	["number", "3.2E-14"],

  	["number", "0.7e+8"]

  ]

  

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

  

  Checks for numbers.