Blame view

bower_components/prism/tests/languages/fsharp/number_feature.test 1008 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
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
  0xbabe

  0xBABEun

  0xflf

  0xfLF

  

  0b1001

  0b1001y

  0b1001uy

  

  42

  1.5

  2.3E+32

  2.3e-32

  4.14F

  4.14f

  0.7833M

  0.7833m

  

  86y

  86uy

  86s

  86us

  86l

  86u

  86ul

  86L

  86UL

  9999999999999999999999999999I

  

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

  

  [

  	["number", "0xbabe"],

  	["number", "0xBABEun"],

  	["number", "0xflf"],

  	["number", "0xfLF"],

  

  	["number", "0b1001"],

  	["number", "0b1001y"],

  	["number", "0b1001uy"],

  

  	["number", "42"],

  	["number", "1.5"],

  	["number", "2.3E+32"],

  	["number", "2.3e-32"],

  	["number", "4.14F"],

  	["number", "4.14f"],

  	["number", "0.7833M"],

  	["number", "0.7833m"],

  

  	["number", "86y"],

  	["number", "86uy"],

  	["number", "86s"],

  	["number", "86us"],

  	["number", "86l"],

  	["number", "86u"],

  	["number", "86ul"],

  	["number", "86L"],

  	["number", "86UL"],

  	["number", "9999999999999999999999999999I"]

  ]

  

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

  

  Checks for decimal, hexadecimal and binary numbers, with all possible suffixes.