Blame view

bower_components/prism/tests/languages/java/number_feature.test 470 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
  0b11110000

  0xBadFace

  0x1.8p1

  0xa.fp-2

  42

  42d

  1.2e3f

  0.1E-4f

  0.2e+1f

  

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

  

  [

  	["number", "0b11110000"],

  	["number", "0xBadFace"],

  	["number", "0x1.8p1"],

  	["number", "0xa.fp-2"],

  	["number", "42"],

  	["number", "42d"],

  	["number", "1.2e3f"],

  	["number", "0.1E-4f"],

  	["number", "0.2e+1f"]

  ]

  

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

  

  Checks for binary, hexadecimal and decimal numbers.